summaryrefslogtreecommitdiffstats
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-27 08:15:56 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 05:57:06 +0100
commit406e47652161d4f0d9bc4cd6237b36c51497ec75 (patch)
tree41ecfaa41f07533619934a3c4f1d2d49683d1bdb /drivers/opp/opp.h
parentopp: Add dev_pm_opp_sync_regulators() (diff)
downloadlinux-406e47652161d4f0d9bc4cd6237b36c51497ec75.tar.xz
linux-406e47652161d4f0d9bc4cd6237b36c51497ec75.zip
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 'drivers/opp/opp.h')
0 files changed, 0 insertions, 0 deletions