From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FE80396B73; Wed, 1 Jul 2026 19:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782933463; cv=none; b=MkPDOkLfAsju5GQG67enzjGgmWFweUqMXcpJdFY9qsGlTlk5e+8CslDGEVC/bUXZz2GuNo9LfXf/hzDi83OiM3Zucm6+6dD4ebkrR4vX8x9OTKeKoK5C15yW1/aQ2lPZRSxcDmYYNtxtcBX+mZSKXTpco7Ynp0O4NGKKl/Bf1Jw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782933463; c=relaxed/simple; bh=8hlsNJwLVmwEfCaaR0JCgSj1BvL63EIf3rbMPpEQvk4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EupzXsiej+mo0PJ80ZOL7F1eEiL3wC4vwS5oJTqthXI/OCbq6YQHZ2Znyzag+4XKznaXCACKnuy77EP0Vo5HwMmMw3q+SrkB8gdnUFAt4BaE8QKAIdeao0d0NLHb7DHRLTr+rUx733cVTo4XRlbctGLkh6y2DzdDnpcpan8//OU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QjOT8onH; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QjOT8onH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3E531F000E9; Wed, 1 Jul 2026 19:17:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782933461; bh=MjDTQx6jwARKGIYrveomBgrbdeElkKOcbcwnV3sjYEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QjOT8onHsyGo7Tb/vUziYeHLHQFgGRpE82ed8PSz8/QMLKZXxYSdoYnFC7GzpHlKP Ke1TQSLLlHMCLRmLftUrdZcPmd2hvhwVt3wvP+Yn4QViPd0R9siU5VxQFQ7wsc5X0+ xFPFofP8d6H8HKczJndj7LainM7MyrMYUHl6ub5e8iGRf0NLOYDIsLi7P+SJCIAqYb Q+Z2j5pizowNlNclW7bljMA4tdFT2TGPW9dDpZUwOb9um2hR0zI/Pv1QO/5RXqwI9X RE3u6ddrXF0UeJxHn537uY78qnw8r3HTdn2asnDN+MIrNrzyzyIMJsrvUtp0tIPo6F Rh65X9+lb8vMg== From: "Rafael J. Wysocki" To: Linux ACPI Cc: Danilo Krummrich , Greg Kroah-Hartman , Hans de Goede , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , LKML , Linux Documentation , Andy Shevchenko , driver-core@lists.linux.dev Subject: [PATCH v1 2/2] ACPI: scan: Set power.no_pm for all struct acpi_device objects Date: Wed, 01 Jul 2026 21:17:28 +0200 Message-ID: <2436882.ElGaqSPkdT@rafael.j.wysocki> Organization: Linux Kernel Development In-Reply-To: <6027395.DvuYhMxLoT@rafael.j.wysocki> References: <6027395.DvuYhMxLoT@rafael.j.wysocki> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" From: "Rafael J. Wysocki" Now that drivers do not bind to ACPI device objects, there is no reason for them to be included directly in power management in any way, so set power.no_pm for all of them. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index ee24c65d43ed..8515e1892643 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1811,6 +1811,7 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, device->dev.release = release; device->dev.bus = &acpi_bus_type; device->dev.groups = acpi_groups; + device_set_pm_not_required(&device->dev); fwnode_init(&device->fwnode, &acpi_device_fwnode_ops); acpi_set_device_status(device, ACPI_STA_DEFAULT); acpi_device_get_busid(device); -- 2.51.0