Linux-Watchdog Archive on lore.kernel.org
 help / color / Atom feed
* [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	[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, back to index

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

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git