Skip to content

Commit 5838b03

Browse files
nmenonbroonie
authored andcommitted
regulator: core: update kernel documentation for regulator_desc
commit df36793 (regulator: core: Provide regmap get/set bypass operations) introduced regulator_[gs]et_bypass_regmap However structure documentation for regulator_desc needs an update. ./scripts/kernel-doc include/linux/regulator/driver.h >/dev/null generates: Warning(include/linux/regulator/driver.h:233): No description found for parameter 'bypass_reg' Warning(include/linux/regulator/driver.h:233): No description found for parameter 'bypass_mask' Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 2730fd8 commit 5838b03

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/regulator/driver.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ enum regulator_type {
199199
* output when using regulator_set_voltage_sel_regmap
200200
* @enable_reg: Register for control when using regmap enable/disable ops
201201
* @enable_mask: Mask for control when using regmap enable/disable ops
202+
* @bypass_reg: Register for control when using regmap set_bypass
203+
* @bypass_mask: Mask for control when using regmap set_bypass
202204
*
203205
* @enable_time: Time taken for initial enable of regulator (in uS).
204206
*/

0 commit comments

Comments
 (0)