Skip to content

Commit 8e6db12

Browse files
committed
OPP: Fix formatting of if/else block
Add {} to both if else blocks or none. Signed-off-by: Viresh Kumar <[email protected]> Reviewed-by: Ulf Hansson <[email protected]>
1 parent 1fa259c commit 8e6db12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/opp/of.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ static void _opp_table_alloc_required_tables(struct opp_table *opp_table,
208208
mutex_lock(&opp_table_lock);
209209
list_add(&opp_table->lazy, &lazy_opp_tables);
210210
mutex_unlock(&opp_table_lock);
211-
}
212-
else
211+
} else {
213212
_update_set_required_opps(opp_table);
213+
}
214214

215215
goto put_np;
216216

0 commit comments

Comments
 (0)