diff mbox series

watchdog: rzn1: Convert comma to semicolon

Message ID 20240716031137.400502-1-nichen@iscas.ac.cn (mailing list archive)
State New
Headers show
Series watchdog: rzn1: Convert comma to semicolon | expand

Commit Message

Chen Ni July 16, 2024, 3:11 a.m. UTC
Replace a comma between expression statements by a semicolon.

Fixes: d65112f58464 ("watchdog: Add Renesas RZ/N1 Watchdog driver")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/watchdog/rzn1_wdt.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Guenter Roeck July 16, 2024, 5:30 a.m. UTC | #1
On 7/15/24 20:11, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Fixes: d65112f58464 ("watchdog: Add Renesas RZ/N1 Watchdog driver")
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Jean-Jacques Hiblot July 28, 2024, 4:44 p.m. UTC | #2
On 16/07/2024 05:11, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Fixes: d65112f58464 ("watchdog: Add Renesas RZ/N1 Watchdog driver")
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>   drivers/watchdog/rzn1_wdt.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/watchdog/rzn1_wdt.c b/drivers/watchdog/rzn1_wdt.c
> index 980c1717adb5..7d3192d34afd 100644
> --- a/drivers/watchdog/rzn1_wdt.c
> +++ b/drivers/watchdog/rzn1_wdt.c
> @@ -140,9 +140,9 @@ static int rzn1_wdt_probe(struct platform_device *pdev)
>   	}
>   
>   	wdt->clk_rate_khz = clk_rate / 1000;
> -	wdt->wdtdev.info = &rzn1_wdt_info,
> -	wdt->wdtdev.ops = &rzn1_wdt_ops,
> -	wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS,
> +	wdt->wdtdev.info = &rzn1_wdt_info;
> +	wdt->wdtdev.ops = &rzn1_wdt_ops;
> +	wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS;
>   	wdt->wdtdev.parent = dev;
>   	/*
>   	 * The period of the watchdog cannot be changed once set

reviewed-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
diff mbox series

Patch

diff --git a/drivers/watchdog/rzn1_wdt.c b/drivers/watchdog/rzn1_wdt.c
index 980c1717adb5..7d3192d34afd 100644
--- a/drivers/watchdog/rzn1_wdt.c
+++ b/drivers/watchdog/rzn1_wdt.c
@@ -140,9 +140,9 @@  static int rzn1_wdt_probe(struct platform_device *pdev)
 	}
 
 	wdt->clk_rate_khz = clk_rate / 1000;
-	wdt->wdtdev.info = &rzn1_wdt_info,
-	wdt->wdtdev.ops = &rzn1_wdt_ops,
-	wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS,
+	wdt->wdtdev.info = &rzn1_wdt_info;
+	wdt->wdtdev.ops = &rzn1_wdt_ops;
+	wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS;
 	wdt->wdtdev.parent = dev;
 	/*
 	 * The period of the watchdog cannot be changed once set