Skip to contentSkip to conversation

nvmem: imx-iim: Convert comma to semicolon

PATCH Applied Shen Lichuan 2 participants 2 messages Sep 20, 2024 – Oct 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvmem: imx-iim: Convert comma to semicolon

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.

---
 drivers/nvmem/imx-iim.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/nvmem/imx-iim.c +5 -5
index f13bbd164086..8cfbe55a56cb 100644
@@ -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;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Shen Lichuan

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,

Signature · 1 line
Srinivas Kandagatla <[email protected]>