Re: [PATCH] wdt: bd70528: Trivial function documentation fix

From: Guenter Roeck
Date: Thu Oct 10 2019 - 12:20:04 EST


On Thu, Oct 10, 2019 at 09:07:33AM +0300, Matti Vaittinen wrote:
> The function documentation for the exported ROHM BD70528 WDG control
> functions used old argument names. Fix the names.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> ---
> drivers/watchdog/bd70528_wdt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/watchdog/bd70528_wdt.c b/drivers/watchdog/bd70528_wdt.c
> index b0152fef4fc7..439f9920978a 100644
> --- a/drivers/watchdog/bd70528_wdt.c
> +++ b/drivers/watchdog/bd70528_wdt.c
> @@ -97,7 +97,7 @@ EXPORT_SYMBOL(bd70528_wdt_set);
> /**
> * bd70528_wdt_lock - take WDT lock
> *
> - * @bd70528: device data for the PMIC instance we want to operate on
> + * @data: device data for the PMIC instance we want to operate on
> *
> * Lock WDT for arming/disarming in order to avoid race condition caused
> * by WDT state changes initiated by WDT and RTC drivers.
> @@ -114,7 +114,7 @@ EXPORT_SYMBOL(bd70528_wdt_lock);
> /**
> * bd70528_wdt_unlock - unlock WDT lock
> *
> - * @bd70528: device data for the PMIC instance we want to operate on
> + * @data: device data for the PMIC instance we want to operate on
> *
> * Unlock WDT lock which has previously been taken by call to
> * bd70528_wdt_lock.
> --
> 2.21.0
>
>
> --
> Matti Vaittinen, Linux device drivers
> ROHM Semiconductors, Finland SWDC
> Kiviharjunlenkki 1E
> 90220 OULU
> FINLAND
>
> ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
> Simon says - in Latin please.
> ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
> Thanks to Simon Glass for the translation =]