From patchwork Thu Feb 22 18:52:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13567962 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0AB28C48BF8 for ; Thu, 22 Feb 2024 18:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cNAGq4ATpMifDKxIkNPa8cLzA6V4Y2BTjrHZFAg+d2Y=; b=oOKcCLYA2ApW9d KC5FGo1cH+HD274hpgHvWFgs0jbVMOJE8l3yk9A8Qy3D+DFiWHpQRVY42ouzbAyvHIHEdZqKiB4cB IR9RAfD+MqTx6B7cPaoh6yV38wmMCrIGY7IWr+uT4sm2PaC9C0DLtMYTN5i7IqR0sodOhdR6kTJuU q3nmIYUA7hb98ueosBusrsBEorTa/UFdjKl4xOcSXNBP5sNt31lNCagOq3OjSBb1KxVDmGYPVvp77 xSzz6HoZvgwpmtw9VNh+3EwEjHooxDQDq01d3LFbWkzNIDrR/5uuYXd1pT532mHw6IW4ADSJtKJLI 8rGXFH3EfYdqqn3FbmRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdEBs-00000006DCm-2Fkt; Thu, 22 Feb 2024 18:53:04 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdEBn-00000006DB4-2pkb for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2024 18:53:02 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rdEBc-0003OK-Os; Thu, 22 Feb 2024 19:52:48 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdEBZ-002HYe-Qb; Thu, 22 Feb 2024 19:52:45 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rdEBZ-009dAF-2M; Thu, 22 Feb 2024 19:52:45 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: "Rafael J. Wysocki" Cc: Len Brown , linux-acpi@vger.kernel.org, kernel@pengutronix.de, Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/7] ACPI: Convert to platform remove callback returning void Date: Thu, 22 Feb 2024 19:52:32 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1741; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=U/wbPr3+llCZADBMK4n5ZGIFCnBeMwKOEwcH7g+SQiA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBl15fy+F3kRVlCRszRfuuzTmYJ/h0cD/uGnw/8M J5UUxVxvTyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZdeX8gAKCRCPgPtYfRL+ ToZ5B/90cJBQ1a1M0RjTsY2xAF2BLUe45z57G6Y2lNr526NpVE0Qytw6olBUK4ON+/oeBuQeWym i7giAESWKHXKyudK5ax13hDjLJsTaUTceiVh3s5NIX5msldUgymTU7KnOjqyP96gInn7C+7ZFtC ECb4+ULvFdyev8M5YO0D00eY2Lw30vEps3DEvdWlZ6n2slA/fbtVuDvG3kycG+hJpnYydKSyTFr 27llXZNaf//Z1HwT1HxMHvmqDqZ7/Q0oHQR6JlDN0/bd+ZldnSuVs6VInOEUbICRj6ifjQv0wHg mt8IQzCJWGkfbyTuMCOsHp75Bi196lyZ8euA1Fs3wJAgzZTe X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_105300_196653_BAD3821F X-CRM114-Status: UNSURE ( 8.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, this series converts all drivers below drivers/acpi to struct platform_driver::remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. All conversations are trivial, because their .remove() callbacks returned zero unconditionally. There are no interdependencies between these patches, so they could be picked up individually. But I'd hope that they get picked up all together by Rafael. There is another driver that needs adaption (as of today's next), but this is discussed separately, see https://lore.kernel.org/linux-acpi/CAJZ5v0jJX-6L9f_TLe-cv2MNnZVK7au=drbKCn-tEWEagY-9ZA@mail.gmail.com . Best regards Uwe Uwe Kleine-König (7): ACPI: TAD: Convert to platform remove callback returning void ACPI: AGDI: Convert to platform remove callback returning void ACPI: DPTF: Convert to platform remove callback returning void ACPI: GED: Convert to platform remove callback returning void ACPI: fan: Convert to platform remove callback returning void ACPI: pfr_telemetry: Convert to platform remove callback returning void ACPI: pfr_update: Convert to platform remove callback returning void drivers/acpi/acpi_tad.c | 5 ++--- drivers/acpi/arm64/agdi.c | 8 +++----- drivers/acpi/dptf/dptf_pch_fivr.c | 6 ++---- drivers/acpi/dptf/dptf_power.c | 6 ++---- drivers/acpi/evged.c | 5 ++--- drivers/acpi/fan_core.c | 6 ++---- drivers/acpi/pfr_telemetry.c | 6 ++---- drivers/acpi/pfr_update.c | 6 ++---- 8 files changed, 17 insertions(+), 31 deletions(-) base-commit: 4893c639cc3659cefaa675bf1e59f4e7571afb5c