diff options
| -rw-r--r-- | Documentation/power/regulator/machine.txt | 4 | ||||
| -rw-r--r-- | include/linux/regulator/machine.h | 6 | ||||
| -rw-r--r-- | include/linux/regulator/max1586.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/power/regulator/machine.txt b/Documentation/power/regulator/machine.txt index ce3487d99abe..63728fed620b 100644 --- a/Documentation/power/regulator/machine.txt +++ b/Documentation/power/regulator/machine.txt | |||
| @@ -87,7 +87,7 @@ static struct platform_device regulator_devices[] = { | |||
| 87 | }, | 87 | }, |
| 88 | }; | 88 | }; |
| 89 | /* register regulator 1 device */ | 89 | /* register regulator 1 device */ |
| 90 | platform_device_register(&wm8350_regulator_devices[0]); | 90 | platform_device_register(®ulator_devices[0]); |
| 91 | 91 | ||
| 92 | /* register regulator 2 device */ | 92 | /* register regulator 2 device */ |
| 93 | platform_device_register(&wm8350_regulator_devices[1]); | 93 | platform_device_register(®ulator_devices[1]); |
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h index 99a4e2eb36aa..87f5f176d4ef 100644 --- a/include/linux/regulator/machine.h +++ b/include/linux/regulator/machine.h | |||
| @@ -41,7 +41,7 @@ struct regulator; | |||
| 41 | #define REGULATOR_CHANGE_DRMS 0x10 | 41 | #define REGULATOR_CHANGE_DRMS 0x10 |
| 42 | 42 | ||
| 43 | /** | 43 | /** |
| 44 | * struct regulator_state - regulator state during low power syatem states | 44 | * struct regulator_state - regulator state during low power system states |
| 45 | * | 45 | * |
| 46 | * This describes a regulators state during a system wide low power state. | 46 | * This describes a regulators state during a system wide low power state. |
| 47 | * | 47 | * |
| @@ -117,10 +117,10 @@ struct regulation_constraints { | |||
| 117 | /* mode to set on startup */ | 117 | /* mode to set on startup */ |
| 118 | unsigned int initial_mode; | 118 | unsigned int initial_mode; |
| 119 | 119 | ||
| 120 | /* constriant flags */ | 120 | /* constraint flags */ |
| 121 | unsigned always_on:1; /* regulator never off when system is on */ | 121 | unsigned always_on:1; /* regulator never off when system is on */ |
| 122 | unsigned boot_on:1; /* bootloader/firmware enabled regulator */ | 122 | unsigned boot_on:1; /* bootloader/firmware enabled regulator */ |
| 123 | unsigned apply_uV:1; /* apply uV constraint iff min == max */ | 123 | unsigned apply_uV:1; /* apply uV constraint if min == max */ |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | /** | 126 | /** |
diff --git a/include/linux/regulator/max1586.h b/include/linux/regulator/max1586.h index 44563192bf16..de9a7fae20be 100644 --- a/include/linux/regulator/max1586.h +++ b/include/linux/regulator/max1586.h | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | * max1586_subdev_data - regulator data | 36 | * max1586_subdev_data - regulator data |
| 37 | * @id: regulator Id (either MAX1586_V3 or MAX1586_V6) | 37 | * @id: regulator Id (either MAX1586_V3 or MAX1586_V6) |
| 38 | * @name: regulator cute name (example for V3: "vcc_core") | 38 | * @name: regulator cute name (example for V3: "vcc_core") |
| 39 | * @platform_data: regulator init data (contraints, supplies, ...) | 39 | * @platform_data: regulator init data (constraints, supplies, ...) |
| 40 | */ | 40 | */ |
| 41 | struct max1586_subdev_data { | 41 | struct max1586_subdev_data { |
| 42 | int id; | 42 | int id; |
| @@ -46,7 +46,7 @@ struct max1586_subdev_data { | |||
| 46 | 46 | ||
| 47 | /** | 47 | /** |
| 48 | * max1586_platform_data - platform data for max1586 | 48 | * max1586_platform_data - platform data for max1586 |
| 49 | * @num_subdevs: number of regultors used (may be 1 or 2) | 49 | * @num_subdevs: number of regulators used (may be 1 or 2) |
| 50 | * @subdevs: regulator used | 50 | * @subdevs: regulator used |
| 51 | * At most, there will be a regulator for V3 and one for V6 voltages. | 51 | * At most, there will be a regulator for V3 and one for V6 voltages. |
| 52 | * @v3_gain: gain on the V3 voltage output multiplied by 1e6. | 52 | * @v3_gain: gain on the V3 voltage output multiplied by 1e6. |
