diff mbox series

[v1] nvmem: imx-iim: Convert comma to semicolon

Message ID 20240920021250.4758-1-shenlichuan@vivo.com (mailing list archive)
State New
Headers show
Series [v1] nvmem: imx-iim: Convert comma to semicolon | expand

Commit Message

Shen Lichuan Sept. 20, 2024, 2:12 a.m. UTC
To ensure code clarity and prevent potential errors, it's advisable
to employ the ';' as a statement separator, except when ',' are
intentionally used for specific purposes.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
---
 drivers/nvmem/imx-iim.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Srinivas Kandagatla Oct. 25, 2024, 4:42 p.m. UTC | #1
On Fri, 20 Sep 2024 10:12:50 +0800, Shen Lichuan wrote:
> To ensure code clarity and prevent potential errors, it's advisable
> to employ the ';' as a statement separator, except when ',' are
> intentionally used for specific purposes.
> 
> 

Applied, thanks!

[1/1] nvmem: imx-iim: Convert comma to semicolon
      commit: e2ba37350d1d95c5614defcec32020479fb5148d

Best regards,
diff mbox series

Patch

diff --git a/drivers/nvmem/imx-iim.c b/drivers/nvmem/imx-iim.c
index f13bbd164086..8cfbe55a56cb 100644
--- a/drivers/nvmem/imx-iim.c
+++ b/drivers/nvmem/imx-iim.c
@@ -115,11 +115,11 @@  static int imx_iim_probe(struct platform_device *pdev)
 	if (IS_ERR(iim->clk))
 		return PTR_ERR(iim->clk);
 
-	cfg.name = "imx-iim",
-	cfg.read_only = true,
-	cfg.word_size = 1,
-	cfg.stride = 1,
-	cfg.reg_read = imx_iim_read,
+	cfg.name = "imx-iim";
+	cfg.read_only = true;
+	cfg.word_size = 1;
+	cfg.stride = 1;
+	cfg.reg_read = imx_iim_read;
 	cfg.dev = dev;
 	cfg.size = drvdata->nregs;
 	cfg.priv = iim;