[PATCH] watchdog: rzn1: Convert comma to semicolon

Chen Ni posted 1 patch 1 year, 5 months ago
drivers/watchdog/rzn1_wdt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] watchdog: rzn1: Convert comma to semicolon
Posted by Chen Ni 1 year, 5 months ago
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
-- 
2.25.1
Re: [PATCH] watchdog: rzn1: Convert comma to semicolon
Posted by Jean-Jacques Hiblot 1 year, 4 months ago
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>
Re: [PATCH] watchdog: rzn1: Convert comma to semicolon
Posted by Guenter Roeck 1 year, 5 months ago
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>