* [PATCH] wdt: bd70528: Trivial function documentation fix
@ 2019-10-10 6:07 Matti Vaittinen
2019-10-10 16:19 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Matti Vaittinen @ 2019-10-10 6:07 UTC (permalink / raw)
To: matti.vaittinen, mazziesaccount
Cc: Wim Van Sebroeck, Guenter Roeck, Jiri Kosina, linux-watchdog,
linux-kernel
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@fi.rohmeurope.com>
---
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 =]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] wdt: bd70528: Trivial function documentation fix
2019-10-10 6:07 [PATCH] wdt: bd70528: Trivial function documentation fix Matti Vaittinen
@ 2019-10-10 16:19 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2019-10-10 16:19 UTC (permalink / raw)
To: Matti Vaittinen
Cc: mazziesaccount, Wim Van Sebroeck, Jiri Kosina, linux-watchdog,
linux-kernel
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@fi.rohmeurope.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> 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 =]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-10 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 6:07 [PATCH] wdt: bd70528: Trivial function documentation fix Matti Vaittinen
2019-10-10 16:19 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).