diff options
| author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-01-08 14:50:23 -0500 |
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-01-08 15:10:38 -0500 |
| commit | 0ba4887c6329043d6cee5b5b477cfe50c2b57674 (patch) | |
| tree | 49aa64865a18e7df29cb347b7ad837e075fc1acf | |
| parent | 6001e13c5f708eb68c744a69df3c2c281156030d (diff) | |
regulator: fix kernel-doc warnings
Fix kernel-doc warnings in regulator/driver.h:
Warning(linux-next-20090108//include/linux/regulator/driver.h:95): Excess struct/union/enum/typedef member 'set_current' description in 'regulator_ops'
Warning(linux-next-20090108//include/linux/regulator/driver.h:95): Excess struct/union/enum/typedef member 'get_current' description in 'regulator_ops'
Warning(linux-next-20090108//include/linux/regulator/driver.h:124): No description found for parameter 'irq'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Liam Girdwood <lrg@slimlogic.co.uk>
cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
| -rw-r--r-- | include/linux/regulator/driver.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 84c3737c2d26..2dae05705f13 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h | |||
| @@ -29,16 +29,12 @@ struct regulator_init_data; | |||
| 29 | * | 29 | * |
| 30 | * @enable: Enable the regulator. | 30 | * @enable: Enable the regulator. |
| 31 | * @disable: Disable the regulator. | 31 | * @disable: Disable the regulator. |
| 32 | * @is_enabled: Return 1 if the reguator is enabled, 0 otherwise. | 32 | * @is_enabled: Return 1 if the regulator is enabled, 0 otherwise. |
| 33 | * | 33 | * |
| 34 | * @set_voltage: Set the voltage for the regulator within the range specified. | 34 | * @set_voltage: Set the voltage for the regulator within the range specified. |
| 35 | * The driver should select the voltage closest to min_uV. | 35 | * The driver should select the voltage closest to min_uV. |
| 36 | * @get_voltage: Return the currently configured voltage for the regulator. | 36 | * @get_voltage: Return the currently configured voltage for the regulator. |
| 37 | * | 37 | * |
| 38 | * @set_current: Set the current for the regulator within the range specified. | ||
| 39 | * The driver should select the current closest to min_uA. | ||
| 40 | * @get_current: Return the currently configured current for the regulator. | ||
| 41 | * | ||
| 42 | * @set_current_limit: Configure a limit for a current-limited regulator. | 38 | * @set_current_limit: Configure a limit for a current-limited regulator. |
| 43 | * @get_current_limit: Get the limit for a current-limited regulator. | 39 | * @get_current_limit: Get the limit for a current-limited regulator. |
| 44 | * | 40 | * |
| @@ -111,6 +107,7 @@ enum regulator_type { | |||
| 111 | * @name: Identifying name for the regulator. | 107 | * @name: Identifying name for the regulator. |
| 112 | * @id: Numerical identifier for the regulator. | 108 | * @id: Numerical identifier for the regulator. |
| 113 | * @ops: Regulator operations table. | 109 | * @ops: Regulator operations table. |
| 110 | * @irq: Interrupt number for the regulator. | ||
| 114 | * @type: Indicates if the regulator is a voltage or current regulator. | 111 | * @type: Indicates if the regulator is a voltage or current regulator. |
| 115 | * @owner: Module providing the regulator, used for refcounting. | 112 | * @owner: Module providing the regulator, used for refcounting. |
| 116 | */ | 113 | */ |
