Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165402
b: refs/heads/master
c: 2e7e65c
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Liam Girdwood committed Sep 22, 2009
1 parent 074c41b commit e59dc46
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 656d0498ea14c51cd8ec00081b5e0662acc72614
refs/heads/master: 2e7e65ce55566fc81036960b00e5e15f5d9578ea
4 changes: 2 additions & 2 deletions trunk/Documentation/power/regulator/machine.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static struct platform_device regulator_devices[] = {
},
};
/* register regulator 1 device */
platform_device_register(&wm8350_regulator_devices[0]);
platform_device_register(&regulator_devices[0]);

/* register regulator 2 device */
platform_device_register(&wm8350_regulator_devices[1]);
platform_device_register(&regulator_devices[1]);
6 changes: 3 additions & 3 deletions trunk/include/linux/regulator/machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct regulator;
#define REGULATOR_CHANGE_DRMS 0x10

/**
* struct regulator_state - regulator state during low power syatem states
* struct regulator_state - regulator state during low power system states
*
* This describes a regulators state during a system wide low power state.
*
Expand Down Expand Up @@ -117,10 +117,10 @@ struct regulation_constraints {
/* mode to set on startup */
unsigned int initial_mode;

/* constriant flags */
/* constraint flags */
unsigned always_on:1; /* regulator never off when system is on */
unsigned boot_on:1; /* bootloader/firmware enabled regulator */
unsigned apply_uV:1; /* apply uV constraint iff min == max */
unsigned apply_uV:1; /* apply uV constraint if min == max */
};

/**
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/regulator/max1586.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* max1586_subdev_data - regulator data
* @id: regulator Id (either MAX1586_V3 or MAX1586_V6)
* @name: regulator cute name (example for V3: "vcc_core")
* @platform_data: regulator init data (contraints, supplies, ...)
* @platform_data: regulator init data (constraints, supplies, ...)
*/
struct max1586_subdev_data {
int id;
Expand All @@ -46,7 +46,7 @@ struct max1586_subdev_data {

/**
* max1586_platform_data - platform data for max1586
* @num_subdevs: number of regultors used (may be 1 or 2)
* @num_subdevs: number of regulators used (may be 1 or 2)
* @subdevs: regulator used
* At most, there will be a regulator for V3 and one for V6 voltages.
* @v3_gain: gain on the V3 voltage output multiplied by 1e6.
Expand Down

0 comments on commit e59dc46

Please sign in to comment.