Skip to content

Commit

Permalink
soc: imx: fix semicolon.cocci warnings
Browse files Browse the repository at this point in the history
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: 556f5cf ("soc: imx: add i.MX8MP HSIO blk-ctrl")
CC: Lucas Stach <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
intel-lab-lkp authored and Shawn Guo committed May 5, 2022
1 parent e344202 commit 7a0c5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/soc/imx/imx8mp-blk-ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int imx8mp_blk_ctrl_power_on(struct generic_pm_domain *genpd)
}

/* 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;
Expand Down Expand Up @@ -414,7 +414,7 @@ static int imx8mp_blk_ctrl_power_off(struct generic_pm_domain *genpd)
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;
Expand Down

0 comments on commit 7a0c5cb

Please sign in to comment.