OpenCloudOS-Kernel/drivers/base/power
Christian Brauner 3b52fc5d78 drivers/base/power: add dpm_sysfs_change_owner()
Add a helper to change the owner of a device's power entries. This
needs to happen when the ownership of a device is changed, e.g. when
moving network devices between network namespaces.
This function will be used to correctly account for ownership changes,
e.g. when moving network devices between network namespaces.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-26 20:07:25 -08:00
..
Makefile PM / QoS: Initial kunit test 2019-11-29 12:04:49 +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.c PM / Domains: Introduce a genpd OF helper that removes a subdomain 2020-01-02 16:52:40 +01:00
domain_governor.c PM / QOS: Pass request type to dev_pm_qos_read_value() 2019-07-04 10:40:54 +02: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: core: Fix handling of devices deleted during system-wide resume 2020-01-24 14:27:05 +01:00
power.h drivers/base/power: add dpm_sysfs_change_owner() 2020-02-26 20:07:25 -08:00
qos-test.c kunit: allow kunit tests to be loaded as a module 2020-01-09 16:42:29 -07:00
qos.c PM / QoS: Restore DEV_PM_QOS_MIN/MAX_FREQUENCY 2019-11-29 12:04:50 +01:00
runtime.c PM-runtime: add tracepoints for usage_count changes 2020-01-13 12:28:29 +01:00
sysfs.c drivers/base/power: add dpm_sysfs_change_owner() 2020-02-26 20:07:25 -08: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 PM / wakeirq: remove unnecessary parentheses 2019-11-13 11:31:08 +01:00
wakeup.c PM: wakeup: Show statistics for deleted wakeup sources again 2019-12-20 10:02:38 +01:00
wakeup_stats.c PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}() 2019-08-21 00:26:43 +02:00