diff mbox series

[-next] watchdog: convert comma to semicolon

Message ID 20201216132733.15635-1-zhengyongjun3@huawei.com
State New
Headers show
Series [-next] watchdog: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 16, 2020, 1:27 p.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/watchdog/mpc8xxx_wdt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guenter Roeck Dec. 16, 2020, 8:16 p.m. UTC | #1
On Wed, Dec 16, 2020 at 09:27:33PM +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

Guenter

> ---
>  drivers/watchdog/mpc8xxx_wdt.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
> index 3fc457bc16db..2f7ded32e878 100644
> --- a/drivers/watchdog/mpc8xxx_wdt.c
> +++ b/drivers/watchdog/mpc8xxx_wdt.c
> @@ -175,8 +175,8 @@ static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
>  
>  	spin_lock_init(&ddata->lock);
>  
> -	ddata->wdd.info = &mpc8xxx_wdt_info,
> -	ddata->wdd.ops = &mpc8xxx_wdt_ops,
> +	ddata->wdd.info = &mpc8xxx_wdt_info;
> +	ddata->wdd.ops = &mpc8xxx_wdt_ops;
>  
>  	ddata->wdd.timeout = WATCHDOG_TIMEOUT;
>  	watchdog_init_timeout(&ddata->wdd, timeout, dev);
> -- 
> 2.22.0
>
diff mbox series

Patch

diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index 3fc457bc16db..2f7ded32e878 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -175,8 +175,8 @@  static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
 
 	spin_lock_init(&ddata->lock);
 
-	ddata->wdd.info = &mpc8xxx_wdt_info,
-	ddata->wdd.ops = &mpc8xxx_wdt_ops,
+	ddata->wdd.info = &mpc8xxx_wdt_info;
+	ddata->wdd.ops = &mpc8xxx_wdt_ops;
 
 	ddata->wdd.timeout = WATCHDOG_TIMEOUT;
 	watchdog_init_timeout(&ddata->wdd, timeout, dev);