OPP: Pass index to _of_init_opp_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 5 Sep 2018 10:47:14 +0000 (16:17 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 19 Sep 2018 21:56:41 +0000 (14:56 -0700)
commiteb7c8743d6cf489e30091e6656fd4d3306621e9a
tree291da2bacbf57a1214f0082d2ed06a8b5cfc2c69
parent3d2556992a878a2210d3be498416aee39e0c32aa
OPP: Pass index to _of_init_opp_table()

This is a preparatory patch required for the next commit which will
start using OPP table's node pointer in _of_init_opp_table(), which
requires the index in order to read the OPP table's phandle.

This commit adds the index argument in the call chains in order to get
it delivered to _of_init_opp_table().

Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
drivers/opp/of.c
drivers/opp/opp.h
include/linux/pm_opp.h