Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

driver core: faux: Set power.no_pm for faux devices

Since faux devices are not supposed to be involved in any kind of
power management, set the no_pm flag for all of them.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: stable <stable@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/6206518.lOV4Wx5bFT@rafael.j.wysocki
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rafael J. Wysocki and committed by
Greg Kroah-Hartman
1ad92645 7bb02685

+1
+1
drivers/base/faux.c
··· 155 155 dev->parent = &faux_bus_root; 156 156 dev->bus = &faux_bus_type; 157 157 dev_set_name(dev, "%s", name); 158 + device_set_pm_not_required(dev); 158 159 159 160 ret = device_add(dev); 160 161 if (ret) {