diff mbox series

wdt: bd70528: Trivial function documentation fix

Message ID 20191010060733.GA9979@localhost.localdomain (mailing list archive)
State Accepted
Headers show
Series wdt: bd70528: Trivial function documentation fix | expand

Commit Message

Vaittinen, Matti Oct. 10, 2019, 6:07 a.m. UTC
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(-)

Comments

Guenter Roeck Oct. 10, 2019, 4:19 p.m. UTC | #1
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 =]
diff mbox series

Patch

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.