[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6206518.lOV4Wx5bFT@rafael.j.wysocki>
Date: Thu, 28 Aug 2025 12:56:41 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Linux PM <linux-pm@...r.kernel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>, Sudeep Holla <sudeep.holla@....com>,
Danilo Krummrich <dakr@...nel.org>
Subject: [PATCH v1 1/2] driver core: faux: Set power.no_pm for faux devices
From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
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@...el.com>
---
drivers/base/faux.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/base/faux.c
+++ b/drivers/base/faux.c
@@ -155,6 +155,7 @@
dev->parent = &faux_bus_root;
dev->bus = &faux_bus_type;
dev_set_name(dev, "%s", name);
+ device_set_pm_not_required(dev);
ret = device_add(dev);
if (ret) {
Powered by blists - more mailing lists