lkml.org 
[lkml]   [2018]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] regulator: fix kernel-doc parameter warning
From
Date
Sorry about missing the Cc's.
Would you like me to resend it?


On 09/02/2018 07:33 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix kernel-doc warning:
>
> ../drivers/regulator/core.c:4479: warning: Excess function parameter 'state' description in 'regulator_suspend'
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Liam Girdwood <lgirdwood@gmail.com>
> Cc: Mark Brown <broonie@kernel.org>
> ---
> drivers/regulator/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- lnx-419-rc2.orig/drivers/regulator/core.c
> +++ lnx-419-rc2/drivers/regulator/core.c
> @@ -4470,7 +4470,7 @@ static int _regulator_suspend(struct dev
>
> /**
> * regulator_suspend - prepare regulators for system wide suspend
> - * @state: system suspend state
> + * @dev: ``&struct device`` pointer that is passed to _regulator_suspend()
> *
> * Configure each regulator with it's suspend operating parameters for state.
> */
>


--
~Randy

\
 
 \ /
  Last update: 2018-09-03 04:36    [W:0.034 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site