diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-04 18:49:55 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-05 01:42:19 +0200 |
commit | 21f8a99ce61b2d4b74bd425a5bf7e9efbe162788 (patch) | |
tree | dee8e88592898dceb5ab65883919bb470923c34f /drivers/cpuidle | |
parent | 04974df8049fc4240d22759a91e035082ccd18b4 (diff) | |
download | linux-21f8a99ce61b2d4b74bd425a5bf7e9efbe162788.tar.bz2 |
PM / OPP: Remove useless check
Regulators are optional for devices using OPPs and the OPP core
shouldn't be printing any errors for such missing regulators.
It was fine before the commit 0c717d0f9cb4, but that failed to update
this part of the code to remove an 'always true' check and an extra
unwanted print message.
Fix that now.
Fixes: 0c717d0f9cb4 (PM / OPP: Initialize regulator pointer to an error value)
Reported-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions