summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-05 17:59:39 +0900
committerMichael Turquette <mturquette@baylibre.com>2015-12-22 10:11:52 -0800
commit3837bd277abd08395588139759cbd56f00f14cb4 (patch)
treee9a1e27541a93fc6f7f58fd8217cb005a7646908 /drivers/clk
parent41cabbc24d0a071cdd9135f854eee5c1e193c097 (diff)
downloadlinux-3837bd277abd08395588139759cbd56f00f14cb4.tar.bz2
clk: fix codying style of if ... else blocks
This code is unreadable due to the blank line between if and else blocks. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-mux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c
index 7129c86a79db..5ed03c8a8df9 100644
--- a/drivers/clk/clk-mux.c
+++ b/drivers/clk/clk-mux.c
@@ -71,10 +71,9 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index)
u32 val;
unsigned long flags = 0;
- if (mux->table)
+ if (mux->table) {
index = mux->table[index];
-
- else {
+ } else {
if (mux->flags & CLK_MUX_INDEX_BIT)
index = 1 << index;