[PATCH] PM / devfreq: rockchip: fix semicolon.cocci warnings

kbuild test robot lkp at intel.com
Tue Aug 9 21:39:00 PDT 2016


drivers/devfreq/rk3399_dmc.c:393:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Lin Huang <hl at rock-chips.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 rk3399_dmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -390,7 +390,7 @@ static int rk3399_dmcfreq_probe(struct p
 	if (IS_ERR(data->dmc_clk)) {
 		dev_err(dev, "Cannot get the clk dmc_clk\n");
 		return PTR_ERR(data->dmc_clk);
-	};
+	}
 
 	data->irq = irq;
 	ret = devm_request_irq(dev, irq, rk3399_dmc_irq, 0,



More information about the linux-arm-kernel mailing list