2012-08-19 00:44:18

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] regulator: fix kernel-doc warnings in drivers/regulator/core.c

From: Randy Dunlap <[email protected]>

Fix regulator kernel-doc warnings:

Warning(drivers/regulator/core.c:2308): No description found for parameter 'rdev'
Warning(drivers/regulator/core.c:2308): Excess function parameter 'regulator' description in 'regulator_set_voltage_time_sel'

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
---
drivers/regulator/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- lnx-36-rc2.orig/drivers/regulator/core.c
+++ lnx-36-rc2/drivers/regulator/core.c
@@ -2291,8 +2291,8 @@ int regulator_set_voltage_time(struct re
EXPORT_SYMBOL_GPL(regulator_set_voltage_time);

/**
- *regulator_set_voltage_time_sel - get raise/fall time
- * @regulator: regulator source
+ * regulator_set_voltage_time_sel - get raise/fall time
+ * @rdev: regulator source device
* @old_selector: selector for starting voltage
* @new_selector: selector for target voltage
*


2012-08-20 20:00:27

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: fix kernel-doc warnings in drivers/regulator/core.c

On Sat, Aug 18, 2012 at 05:44:14PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> Fix regulator kernel-doc warnings:

Applied, thanks.


Attachments:
(No filename) (164.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments