Commit 0ba4887c authored by Randy Dunlap's avatar Randy Dunlap Committed by Liam Girdwood

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
cc: Liam Girdwood <lrg@slimlogic.co.uk>
cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 6001e13c
...@@ -29,16 +29,12 @@ struct regulator_init_data; ...@@ -29,16 +29,12 @@ struct regulator_init_data;
* *
* @enable: Enable the regulator. * @enable: Enable the regulator.
* @disable: Disable the regulator. * @disable: Disable the regulator.
* @is_enabled: Return 1 if the reguator is enabled, 0 otherwise. * @is_enabled: Return 1 if the regulator is enabled, 0 otherwise.
* *
* @set_voltage: Set the voltage for the regulator within the range specified. * @set_voltage: Set the voltage for the regulator within the range specified.
* The driver should select the voltage closest to min_uV. * The driver should select the voltage closest to min_uV.
* @get_voltage: Return the currently configured voltage for the regulator. * @get_voltage: Return the currently configured voltage for the regulator.
* *
* @set_current: Set the current for the regulator within the range specified.
* The driver should select the current closest to min_uA.
* @get_current: Return the currently configured current for the regulator.
*
* @set_current_limit: Configure a limit for a current-limited regulator. * @set_current_limit: Configure a limit for a current-limited regulator.
* @get_current_limit: Get the limit for a current-limited regulator. * @get_current_limit: Get the limit for a current-limited regulator.
* *
...@@ -111,6 +107,7 @@ enum regulator_type { ...@@ -111,6 +107,7 @@ enum regulator_type {
* @name: Identifying name for the regulator. * @name: Identifying name for the regulator.
* @id: Numerical identifier for the regulator. * @id: Numerical identifier for the regulator.
* @ops: Regulator operations table. * @ops: Regulator operations table.
* @irq: Interrupt number for the regulator.
* @type: Indicates if the regulator is a voltage or current regulator. * @type: Indicates if the regulator is a voltage or current regulator.
* @owner: Module providing the regulator, used for refcounting. * @owner: Module providing the regulator, used for refcounting.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment