]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
regulator: fix typos
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 18 Sep 2009 20:44:43 +0000 (22:44 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:44 +0000 (13:32 +0100)
Fix a couple of typos I found while working with this subsystem.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Documentation/power/regulator/machine.txt
include/linux/regulator/machine.h
include/linux/regulator/max1586.h

index ce3487d99abedef8b3616740bc3a980d3607bdd3..63728fed620b7bacea9cdbb80b659a2105ed4173 100644 (file)
@@ -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]);
index 99a4e2eb36aa0a0a8cac2b42c99ba42d4e7979d3..87f5f176d4ef31c521e133a9b24c92471d5d5eeb 100644 (file)
@@ -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.
  *
@@ -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 */
 };
 
 /**
index 44563192bf16d80d55add289e657a8b07e123c2c..de9a7fae20bec0d406060031edcefbe976245d11 100644 (file)
@@ -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;
@@ -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.