diff mbox series

drivers: watchdog: marvell_gti: Convert comma to semicolon

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

Commit Message

Chen Ni Sept. 2, 2024, 8:04 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/watchdog/marvell_gti_wdt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guenter Roeck Sept. 2, 2024, 5:16 p.m. UTC | #1
On 9/2/24 01:04, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

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

Guenter

> ---
>   drivers/watchdog/marvell_gti_wdt.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/watchdog/marvell_gti_wdt.c b/drivers/watchdog/marvell_gti_wdt.c
> index 098bb141a521..298089d45ab8 100644
> --- a/drivers/watchdog/marvell_gti_wdt.c
> +++ b/drivers/watchdog/marvell_gti_wdt.c
> @@ -285,8 +285,8 @@ static int gti_wdt_probe(struct platform_device *pdev)
>   	}
>   
>   	wdog_dev = &priv->wdev;
> -	wdog_dev->info = &gti_wdt_ident,
> -	wdog_dev->ops = &gti_wdt_ops,
> +	wdog_dev->info = &gti_wdt_ident;
> +	wdog_dev->ops = &gti_wdt_ops;
>   	wdog_dev->parent = dev;
>   	/*
>   	 * Watchdog counter is 24 bit where lower 8 bits are zeros
diff mbox series

Patch

diff --git a/drivers/watchdog/marvell_gti_wdt.c b/drivers/watchdog/marvell_gti_wdt.c
index 098bb141a521..298089d45ab8 100644
--- a/drivers/watchdog/marvell_gti_wdt.c
+++ b/drivers/watchdog/marvell_gti_wdt.c
@@ -285,8 +285,8 @@  static int gti_wdt_probe(struct platform_device *pdev)
 	}
 
 	wdog_dev = &priv->wdev;
-	wdog_dev->info = &gti_wdt_ident,
-	wdog_dev->ops = &gti_wdt_ops,
+	wdog_dev->info = &gti_wdt_ident;
+	wdog_dev->ops = &gti_wdt_ops;
 	wdog_dev->parent = dev;
 	/*
 	 * Watchdog counter is 24 bit where lower 8 bits are zeros