Re: [PATCH v1] mfd: Convert comma to semicolon

From: Nicolas Ferre
Date: Thu Sep 05 2024 - 10:35:41 EST


On 05/09/2024 at 11:27, Shen Lichuan wrote:
Replace a comma between expression statements by a semicolon.

Signed-off-by: Shen Lichuan <shenlichuan@xxxxxxxx>
---
drivers/mfd/atmel-flexcom.c | 2 +-
drivers/mfd/rk8xx-core.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/atmel-flexcom.c b/drivers/mfd/atmel-flexcom.c
index b52f7ffdad35..d5df5466eaf5 100644
--- a/drivers/mfd/atmel-flexcom.c
+++ b/drivers/mfd/atmel-flexcom.c
@@ -95,7 +95,7 @@ static int __maybe_unused atmel_flexcom_resume_noirq(struct device *dev)
if (err)
return err;

- val = FLEX_MR_OPMODE(ddata->opmode),
+ val = FLEX_MR_OPMODE(ddata->opmode);

It surely doesn't change the behavior, but it's probably a typo anyway:
Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx> # for atmel-flexcom.c

Regards,
Nicolas

writel(val, ddata->base + FLEX_MR);

clk_disable_unprepare(ddata->clk);

[..]