diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-12-11 12:02:47 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2018-12-11 12:02:47 +0100 |
commit | 90e3577b5feb42bac1269e16bb3d2bdd8f6df40f (patch) | |
tree | 52193e996c9bbc24c0bcb2284e0ab187278e3b9a /fs/compat.c | |
parent | OPP: Fix parsing of multiple phandles in "operating-points-v2" property (diff) | |
download | linux-90e3577b5feb42bac1269e16bb3d2bdd8f6df40f.tar.xz linux-90e3577b5feb42bac1269e16bb3d2bdd8f6df40f.zip |
OPP: Use opp_table->regulators to verify no regulator case
The value of opp_table->regulator_count is not very consistent right now
and it may end up being 0 while we do have a "opp-microvolt" property in
the OPP table. It was kept that way as we used to check if any
regulators are set with the OPP core for a device or not using value of
regulator_count.
Lets use opp_table->regulators for that purpose as the meaning of
regulator_count is going to change in the later patches.
Reported-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions