diff options
| author | 2021-01-27 12:45:56 +0530 | |
|---|---|---|
| committer | 2021-02-02 10:27:06 +0530 | |
| commit | 406e47652161d4f0d9bc4cd6237b36c51497ec75 (patch) | |
| tree | 41ecfaa41f07533619934a3c4f1d2d49683d1bdb /include/linux | |
| parent | opp: Add dev_pm_opp_sync_regulators() (diff) | |
opp: Create _of_add_table_indexed() to reduce code duplication
The implementation of dev_pm_opp_of_add_table() and
dev_pm_opp_of_add_table_indexed() are almost identical. Create
_of_add_table_indexed() to reduce code redundancy.
Also remove the duplication of the doc style comments by referring to
dev_pm_opp_of_add_table() from dev_pm_opp_of_add_table_indexed().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
