Commit 3837bd27 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michael Turquette

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
parent 41cabbc2
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment