lkml.org 
[lkml]   [2021]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] regulator: driver.h: fix kernel-doc warnings
Date
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

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
---
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(-)

--- next-2021-1210.orig/include/linux/regulator/driver.h
+++ next-2021-1210/include/linux/regulator/driver.h
@@ -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.
\
 
 \ /
  Last update: 2021-12-14 01:45    [W:0.028 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site