From: Masahiro Yamada Date: Thu, 5 Nov 2015 08:59:39 +0000 (+0900) Subject: clk: fix codying style of if ... else blocks X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3837bd277abd08395588139759cbd56f00f14cb4;p=linux-beck.git 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 Signed-off-by: Michael Turquette --- 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;