diff mbox series

soc: imx: fix semicolon.cocci warnings

Message ID YnO0/V+bqDRuWMZX@83895a798b7e (mailing list archive)
State New, archived
Headers show
Series soc: imx: fix semicolon.cocci warnings | expand

Commit Message

kernel test robot May 5, 2022, 11:29 a.m. UTC
From: kernel test robot <lkp@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@pengutronix.de>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@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(-)

Comments

Shawn Guo May 5, 2022, 12:52 p.m. UTC | #1
On Thu, May 05, 2022 at 07:29:01PM +0800, kernel test robot wrote:
> From: kernel test robot <lkp@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@pengutronix.de>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: kernel test robot <lkp@intel.com>

Applied, thanks!
diff mbox series

Patch

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