Message ID | 20240716031137.400502-1-nichen@iscas.ac.cn |
---|---|
State | New |
Headers | show |
Series | watchdog: rzn1: Convert comma to semicolon | expand |
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>
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 --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
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(-)