summaryrefslogtreecommitdiff
path: root/drivers/opp/core.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-27 10:15:56 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 07:57:06 +0300
commit406e47652161d4f0d9bc4cd6237b36c51497ec75 (patch)
tree41ecfaa41f07533619934a3c4f1d2d49683d1bdb /drivers/opp/core.c
parentce8073d83f63a2cdcfc1b86d769456726faad51d (diff)
downloadlinux-406e47652161d4f0d9bc4cd6237b36c51497ec75.tar.xz
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/core.c')
0 files changed, 0 insertions, 0 deletions