linux/drivers/base/power
Ulf Hansson fe0c2baae0 PM / Domains: Convert to dev_to_genpd_safe() in genpd_syscore_switch()
The intent with walking the gpd_list via calling genpd_present() from
genpd_syscore_switch(), is to make sure the dev->pm_domain pointer belongs
to a registered genpd. However, as a genpd can't be removed if there is a
device attached to it, let's convert to use the quicker dev_to_genpd_safe()
instead.

Due to the above change, this allows us to clean up genpd_present() and
move it inside CONFIG_PM_GENERIC_DOMAINS_OF, so let's do that as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-11-13 11:44:15 +01:00
..
clock_ops.c PM / clk: Remove error message on out-of-memory condition 2019-05-28 19:40:21 +02:00
common.c PM / Domains: Introduce dev_pm_domain_start() 2019-11-13 11:41:50 +01:00
domain_governor.c PM / QOS: Pass request type to dev_pm_qos_read_value() 2019-07-04 10:40:54 +02:00
domain.c PM / Domains: Convert to dev_to_genpd_safe() in genpd_syscore_switch() 2019-11-13 11:44:15 +01:00
generic_ops.c drivers: base: power: add proper SPDX identifiers on files that did not have them. 2019-04-04 20:03:40 +02:00
main.c PM: sleep: Drop dpm_noirq_begin() and dpm_noirq_end() 2019-07-23 09:46:56 +02:00
Makefile PM / wakeup: Show wakeup sources stats in sysfs 2019-08-21 00:20:40 +02:00
power.h PM / wakeup: Register wakeup class kobj after device is added 2019-08-21 00:25:16 +02:00
qos.c PM: QoS: Drop frequency QoS types from device PM QoS 2019-10-21 02:05:21 +02:00
runtime.c Driver core patches for 5.4-rc1 2019-09-18 10:04:39 -07:00
sysfs.c PM / wakeup: Register wakeup class kobj after device is added 2019-08-21 00:25:16 +02:00
trace.c drivers: base: power: add proper SPDX identifiers on files that did not have them. 2019-04-04 20:03:40 +02:00
wakeirq.c drivers: base: power: add proper SPDX identifiers on files that did not have them. 2019-04-04 20:03:40 +02:00
wakeup_stats.c PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}() 2019-08-21 00:26:43 +02:00
wakeup.c Merge suspend-to-idle rework material for v5.4. 2019-09-17 09:35:35 +02:00