mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Michael Turquette <[email protected]>
This commit is contained in:
parent
41cabbc24d
commit
3837bd277a
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue