2010-11-18 23:04:35

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] regulator: fix kernel-doc for set_consumer_device_supply

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning for set_consumer_device_supply():

Warning(drivers/regulator/core.c:912): missing initial short description on line:
* set_consumer_device_supply: Bind a regulator to a symbolic supply

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

--- lnx-2637-r2g4-kerndoc.orig/drivers/regulator/core.c
+++ lnx-2637-r2g4-kerndoc/drivers/regulator/core.c
@@ -911,7 +911,7 @@ out:
}

/**
- * set_consumer_device_supply: Bind a regulator to a symbolic supply
+ * set_consumer_device_supply - Bind a regulator to a symbolic supply
* @rdev: regulator source
* @consumer_dev: device the supply applies to
* @consumer_dev_name: dev_name() string for device supply applies to


2010-11-19 11:19:04

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: fix kernel-doc for set_consumer_device_supply

On Thu, Nov 18, 2010 at 03:02:26PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> Fix kernel-doc warning for set_consumer_device_supply():
>
> Warning(drivers/regulator/core.c:912): missing initial short description on line:
> * set_consumer_device_supply: Bind a regulator to a symbolic supply

Acked-by: Mark Brown <[email protected]>

2010-11-19 11:31:34

by Liam Girdwood

[permalink] [raw]
Subject: Re: [PATCH] regulator: fix kernel-doc for set_consumer_device_supply

On Fri, 2010-11-19 at 11:18 +0000, Mark Brown wrote:
> On Thu, Nov 18, 2010 at 03:02:26PM -0800, Randy Dunlap wrote:
> > From: Randy Dunlap <[email protected]>
> >
> > Fix kernel-doc warning for set_consumer_device_supply():
> >
> > Warning(drivers/regulator/core.c:912): missing initial short description on line:
> > * set_consumer_device_supply: Bind a regulator to a symbolic supply
>
> Acked-by: Mark Brown <[email protected]>

Applied.

Thanks

Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk