Skip to contentSkip to conversation

regulator: driver.h: fix kernel-doc warnings

PATCH New Randy Dunlap 1 participant 1 message Dec 14, 2021 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: driver.h: fix kernel-doc warnings

Quieten all kernel-doc warnings in <linux/regulator/driver.h>:

include/linux/regulator/driver.h:262: warning: contents before sections include/linux/regulator/driver.h:433: warning: Function parameter or member 'n_ramp_values' not described in 'regulator_desc' include/linux/regulator/driver.h:443: warning: contents before sections

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>

---
Note: in MAINTAINERS, this following line seems to be incorrect:
W: http://www.slimlogic.co.uk/?p=48

 include/linux/regulator/driver.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/regulator/driver.h +1 -2
@@ -253,7 +253,6 @@ enum regulator_type {
 
 /**
  * struct regulator_desc - Static regulator descriptor
- *
  * Each regulator registered with the core is described with a
  * structure of this type and a struct regulator_config.  This
  * structure contains the non-varying parts of the regulator
@@ -348,6 +347,7 @@ enum regulator_type {
  * @ramp_delay_table:	Table for mapping the regulator ramp-rate values. Values
  *			should be given in units of V/S (uV/uS). See the
  *			regulator_set_ramp_delay_regmap().
+ * @n_ramp_values:	Number of entries in the @ramp_delay_table
  *
  * @enable_time: Time taken for initial enable of regulator (in uS).
  * @off_on_delay: guard time (in uS), before re-enabling a regulator
@@ -434,7 +434,6 @@ struct regulator_desc {
 
 /**
  * struct regulator_config - Dynamic regulator descriptor
- *
  * Each regulator registered with the core is described with a
  * structure of this type and a struct regulator_desc.  This structure
  * contains the runtime variable parts of the regulator description.