linux_dsm_epyc7002/drivers/base/power/opp
Viresh Kumar 21f8a99ce6 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 0c717d0f9c, 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: 0c717d0f9c (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>
2016-05-05 01:42:19 +02:00
..
core.c PM / OPP: Remove useless check 2016-05-05 01:42:19 +02:00
cpu.c PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00
debugfs.c PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00
Makefile PM / OPP: Add debugfs support 2015-11-23 23:38:23 +01:00
opp.h PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00