diff mbox series

ARM: davinci: Convert comma to semicolon

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

Commit Message

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

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 arch/arm/mach-davinci/pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski July 10, 2024, 7:56 a.m. UTC | #1
On Wed, Jul 10, 2024 at 3:44 AM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>  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
>

Same as the GPIO patch, can you add the Fixes tag?

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);