linux/drivers/base/power/opp
Viresh Kumar c74b32fadc PM / OPP: Reorganize _generic_set_opp_regulator()
The code was overly complicated here because of the limitations that we
had with RCUs (Couldn't use opp-table and OPPs outside RCU protected
section and can't call sleep-able routines from within that). But that
is long gone now.

Reorganize _generic_set_opp_regulator() in order to avoid using "struct
dev_pm_set_opp_data" and copying data into it for the case where
opp_table->set_opp is not set.

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>
2017-06-22 03:15:29 +02:00
..
core.c PM / OPP: Reorganize _generic_set_opp_regulator() 2017-06-22 03:15:29 +02:00
cpu.c PM / OPP: Move away from RCU locking 2017-01-30 09:22:22 +01:00
debugfs.c PM / OPP: Add infrastructure to manage multiple regulators 2016-12-06 02:27:59 +01:00
Makefile PM / OPP: Move CONFIG_OF dependent code in a separate file 2016-05-06 13:22:49 +02:00
of.c PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API 2017-02-09 22:52:17 +01:00
opp.h PM / OPP: Move away from RCU locking 2017-01-30 09:22:22 +01:00