Просмотр исходного кода

clk: Remove unneeded semicolons

There are cleary typo errors so can be removed.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Javier Martinez Canillas 10 лет назад
Родитель
Сommit
90c53547fc
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      drivers/clk/clk.c
  2. 1 1
      drivers/clk/hisilicon/clk-hi6220-stub.c
  3. 1 1
      drivers/clk/mvebu/common.c

+ 1 - 1
drivers/clk/clk.c

@@ -1685,7 +1685,7 @@ static struct clk_core *__clk_init_parent(struct clk_core *core)
 			"%s: multi-parent clocks must implement .get_parent\n",
 			__func__);
 		goto out;
-	};
+	}
 
 	/*
 	 * Do our best to cache parent clocks in core->parents.  This prevents

+ 1 - 1
drivers/clk/hisilicon/clk-hi6220-stub.c

@@ -230,7 +230,7 @@ static int hi6220_stub_clk_probe(struct platform_device *pdev)
 	if (IS_ERR(stub_clk->mbox)) {
 		dev_err(dev, "failed get mailbox channel\n");
 		return PTR_ERR(stub_clk->mbox);
-	};
+	}
 
 	init.name = "acpu0";
 	init.ops = &hi6220_stub_clk_ops;

+ 1 - 1
drivers/clk/mvebu/common.c

@@ -165,7 +165,7 @@ void __init mvebu_coreclk_setup(struct device_node *np,
 		clk_data.clks[2+n] = clk_register_fixed_factor(NULL, rclk_name,
 				       cpuclk_name, 0, mult, div);
 		WARN_ON(IS_ERR(clk_data.clks[2+n]));
-	};
+	}
 
 	/* Register optional refclk */
 	if (desc->get_refclk_freq) {