summaryrefslogtreecommitdiff
path: root/drivers/target/sbp
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-27 12:45:56 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 10:27:06 +0530
commit406e47652161d4f0d9bc4cd6237b36c51497ec75 (patch)
tree41ecfaa41f07533619934a3c4f1d2d49683d1bdb /drivers/target/sbp
parentce8073d83f63a2cdcfc1b86d769456726faad51d (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 'drivers/target/sbp')
0 files changed, 0 insertions, 0 deletions