summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2016-07-06 20:44:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-07 09:36:49 +0200
commit5455354846e5e928afc73a3f333bd1a054dee06b (patch)
tree0da0212539cbacf34cfc6ae56043562ccb76d5fc /drivers/clk
parent81a54afd22ceb6fb7a70cc8be6368831a4692135 (diff)
downloadbarebox-5455354846e5e928afc73a3f333bd1a054dee06b.tar.gz
barebox-5455354846e5e928afc73a3f333bd1a054dee06b.tar.xz
clk: fix misleading indenting
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clkdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c
index d9a1c21ae..1bc5c6daa 100644
--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -181,8 +181,8 @@ struct clk *clk_get(struct device_d *dev, const char *con_id)
if (dev) {
clk = of_clk_get_by_name(dev->device_node, con_id);
- if (!IS_ERR(clk))
- return clk;
+ if (!IS_ERR(clk))
+ return clk;
}
return clk_get_sys(dev_id, con_id);