[PATCH] soc: imx: fix semicolon.cocci warnings

kernel test robot lkp at intel.com
Thu May 5 04:29:01 PDT 2022


From: kernel test robot <lkp at intel.com>

drivers/soc/imx/imx8mp-blk-ctrl.c:227:61-62: Unneeded semicolon
drivers/soc/imx/imx8mp-blk-ctrl.c:192:61-62: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 556f5cf9568a ("soc: imx: add i.MX8MP HSIO blk-ctrl")
CC: Lucas Stach <l.stach at pengutronix.de>
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: kernel test robot <lkp at intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git imx/drivers
head:   e3442022f54301ed8c27a2087b031a0a7265c4ba
commit: 556f5cf9568af772d494cff24ffaa7ea41e1ab40 [5/7] soc: imx: add i.MX8MP HSIO blk-ctrl
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago

 drivers/soc/imx/imx8mp-blk-ctrl.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/soc/imx/imx8mp-blk-ctrl.c
+++ b/drivers/soc/imx/imx8mp-blk-ctrl.c
@@ -189,7 +189,7 @@ static int imx8mp_blk_ctrl_power_on(stru
 	}
 
 	/* enable upstream clocks */
-	ret = clk_bulk_prepare_enable(data->num_clks, domain->clks);;
+	ret = clk_bulk_prepare_enable(data->num_clks, domain->clks);
 	if (ret) {
 		dev_err(bc->dev, "failed to enable clocks\n");
 		goto bus_put;
@@ -224,7 +224,7 @@ static int imx8mp_blk_ctrl_power_off(str
 	struct imx8mp_blk_ctrl *bc = domain->bc;
 	int ret;
 
-	ret = clk_bulk_prepare_enable(data->num_clks, domain->clks);;
+	ret = clk_bulk_prepare_enable(data->num_clks, domain->clks);
 	if (ret) {
 		dev_err(bc->dev, "failed to enable clocks\n");
 		return ret;



More information about the linux-arm-kernel mailing list