Skip to content

Commit

Permalink
OPP: Fix formatting of if/else block
Browse files Browse the repository at this point in the history
Add {} to both if else blocks or none.

Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
  • Loading branch information
vireshk committed Oct 16, 2023
1 parent 1fa259c commit 8e6db12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/opp/of.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8e6db12

Please sign in to comment.