提交 3837bd27 编写于 作者: M Masahiro Yamada 提交者: 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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
上级 41cabbc2
...@@ -71,10 +71,9 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index) ...@@ -71,10 +71,9 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index)
u32 val; u32 val;
unsigned long flags = 0; unsigned long flags = 0;
if (mux->table) if (mux->table) {
index = mux->table[index]; index = mux->table[index];
} else {
else {
if (mux->flags & CLK_MUX_INDEX_BIT) if (mux->flags & CLK_MUX_INDEX_BIT)
index = 1 << index; index = 1 << index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册