summaryrefslogtreecommitdiff
path: root/drivers/opp
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2023-10-12 12:09:26 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2023-10-16 13:35:51 +0300
commit8e6db129eb56960202642800ffd273d68411acff (patch)
tree55ae24322b6bc0997e2f24a349b4633f83187fda /drivers/opp
parent1fa259cd68e0800e44292d1acf979ea4ea418f49 (diff)
downloadlinux-8e6db129eb56960202642800ffd273d68411acff.tar.xz
OPP: Fix formatting of if/else block
Add {} to both if else blocks or none. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/opp')
-rw-r--r--drivers/opp/of.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/opp/of.c b/drivers/opp/of.c
index ae5c405bbf9a..85e2af3d6a49 100644
--- a/drivers/opp/of.c
+++ b/drivers/opp/of.c
@@ -208,9 +208,9 @@ static void _opp_table_alloc_required_tables(struct opp_table *opp_table,
mutex_lock(&opp_table_lock);
list_add(&opp_table->lazy, &lazy_opp_tables);
mutex_unlock(&opp_table_lock);
- }
- else
+ } else {
_update_set_required_opps(opp_table);
+ }
goto put_np;