diff mbox series

[v2] ARM: davinci: Convert comma to semicolon

Message ID 20240710081648.2286573-1-nichen@iscas.ac.cn (mailing list archive)
State New, archived
Headers show
Series [v2] ARM: davinci: Convert comma to semicolon | expand

Commit Message

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

Fixes: efc1bb8a6fd5 ("davinci: add power management support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
Changelog:

v1 -> v2:

1. Add Fixes tag.
---
 arch/arm/mach-davinci/pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski July 10, 2024, 1:01 p.m. UTC | #1
On Wed, Jul 10, 2024 at 10:17 AM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Fixes: efc1bb8a6fd5 ("davinci: add power management support")
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
> Changelog:
>
> v1 -> v2:
>
> 1. Add Fixes tag.
> ---
>  arch/arm/mach-davinci/pm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
> index 8aa39db095d7..2c5155bd376b 100644
> --- a/arch/arm/mach-davinci/pm.c
> +++ b/arch/arm/mach-davinci/pm.c
> @@ -61,7 +61,7 @@ static void davinci_pm_suspend(void)
>
>         /* Configure sleep count in deep sleep register */
>         val = __raw_readl(pm_config.deepsleep_reg);
> -       val &= ~DEEPSLEEP_SLEEPCOUNT_MASK,
> +       val &= ~DEEPSLEEP_SLEEPCOUNT_MASK;
>         val |= pm_config.sleepcount;
>         __raw_writel(val, pm_config.deepsleep_reg);
>
> --
> 2.25.1
>

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Arnd,

I don't want to spam you with a late PR with just this oneliner. Can
you pick it up directly if it's not too late in this cycle?

Bart
diff mbox series

Patch

diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
index 8aa39db095d7..2c5155bd376b 100644
--- a/arch/arm/mach-davinci/pm.c
+++ b/arch/arm/mach-davinci/pm.c
@@ -61,7 +61,7 @@  static void davinci_pm_suspend(void)
 
 	/* Configure sleep count in deep sleep register */
 	val = __raw_readl(pm_config.deepsleep_reg);
-	val &= ~DEEPSLEEP_SLEEPCOUNT_MASK,
+	val &= ~DEEPSLEEP_SLEEPCOUNT_MASK;
 	val |= pm_config.sleepcount;
 	__raw_writel(val, pm_config.deepsleep_reg);