summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-mux.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-05 03:59:39 -0500
committerMichael Turquette <mturquette@baylibre.com>2015-12-22 13:11:52 -0500
commit3837bd277abd08395588139759cbd56f00f14cb4 (patch)
treee9a1e27541a93fc6f7f58fd8217cb005a7646908 /drivers/clk/clk-mux.c
parent41cabbc24d0a071cdd9135f854eee5c1e193c097 (diff)
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/clk-mux.c')
-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)
71 u32 val; 71 u32 val;
72 unsigned long flags = 0; 72 unsigned long flags = 0;
73 73
74 if (mux->table) 74 if (mux->table) {
75 index = mux->table[index]; 75 index = mux->table[index];
76 76 } else {
77 else {
78 if (mux->flags & CLK_MUX_INDEX_BIT) 77 if (mux->flags & CLK_MUX_INDEX_BIT)
79 index = 1 << index; 78 index = 1 << index;
80 79