* [PATCH 4/14] kernel-doc: fix new warning in regulator core
@ 2012-01-21 19:02 Randy Dunlap
2012-01-21 18:35 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2012-01-21 19:02 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Linus Torvalds, Liam Girdwood, Mark Brown
From: Randy Dunlap <rdunlap@xenotime.net>
Fix new kernel-doc warning:
Warning(drivers/regulator/core.c:2741): No description found for parameter 'of_node'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Liam Girdwood <lrg@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/regulator/core.c | 1 +
1 file changed, 1 insertion(+)
--- lnx-33-rc1.orig/drivers/regulator/core.c
+++ lnx-33-rc1/drivers/regulator/core.c
@@ -2731,6 +2731,7 @@ static void rdev_init_debugfs(struct reg
* @dev: struct device for the regulator
* @init_data: platform provided init data, passed through by driver
* @driver_data: private regulator data
+ * @of_node: target of device structure (may be NULL)
*
* Called by regulator drivers to register a regulator.
* Returns 0 on success.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 4/14] kernel-doc: fix new warning in regulator core
2012-01-21 19:02 [PATCH 4/14] kernel-doc: fix new warning in regulator core Randy Dunlap
@ 2012-01-21 18:35 ` Mark Brown
2012-01-21 19:37 ` Randy Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2012-01-21 18:35 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Linux Kernel Mailing List, Linus Torvalds, Liam Girdwood
On Sat, Jan 21, 2012 at 11:02:38AM -0800, Randy Dunlap wrote:
> @@ -2731,6 +2731,7 @@ static void rdev_init_debugfs(struct reg
> * @dev: struct device for the regulator
> * @init_data: platform provided init data, passed through by driver
> * @driver_data: private regulator data
> + * @of_node: target of device structure (may be NULL)
Please don't apply this, I can't actually parse that description so I'm
fairly sure users will struggle also. I'll try to get round to writing
something better at some point.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 4/14] kernel-doc: fix new warning in regulator core
2012-01-21 18:35 ` Mark Brown
@ 2012-01-21 19:37 ` Randy Dunlap
2012-01-21 18:43 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2012-01-21 19:37 UTC (permalink / raw)
To: Mark Brown; +Cc: Linux Kernel Mailing List, Linus Torvalds, Liam Girdwood
On 01/21/2012 10:35 AM, Mark Brown wrote:
> On Sat, Jan 21, 2012 at 11:02:38AM -0800, Randy Dunlap wrote:
>
>> @@ -2731,6 +2731,7 @@ static void rdev_init_debugfs(struct reg
>> * @dev: struct device for the regulator
>> * @init_data: platform provided init data, passed through by driver
>> * @driver_data: private regulator data
>> + * @of_node: target of device structure (may be NULL)
> Please don't apply this, I can't actually parse that description so I'm
> fairly sure users will struggle also. I'll try to get round to writing
> something better at some point.
Thanks. Ah, 'of' is not the preposition above, it was meant to be
the acronym for open firmware. :(
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 4/14] kernel-doc: fix new warning in regulator core
2012-01-21 19:37 ` Randy Dunlap
@ 2012-01-21 18:43 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2012-01-21 18:43 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Linux Kernel Mailing List, Linus Torvalds, Liam Girdwood
On Sat, Jan 21, 2012 at 11:37:51AM -0800, Randy Dunlap wrote:
> On 01/21/2012 10:35 AM, Mark Brown wrote:
> > Please don't apply this, I can't actually parse that description so I'm
> > fairly sure users will struggle also. I'll try to get round to writing
> > something better at some point.
> Thanks. Ah, 'of' is not the preposition above, it was meant to be
> the acronym for open firmware. :(
Ah! Now it parses fine! Should still be clarified though, I'm sure
other people will make the same mistake, and actually the reason it's a
parameter is that it often won't actually be a device but will instead
be some named subnode.
Like I say I'll try to get round to fixing this.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-21 18:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21 19:02 [PATCH 4/14] kernel-doc: fix new warning in regulator core Randy Dunlap
2012-01-21 18:35 ` Mark Brown
2012-01-21 19:37 ` Randy Dunlap
2012-01-21 18:43 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.