From patchwork Wed Sep 27 19:37:05 2023 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: 13401604 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8350BE82CC3 for ; Wed, 27 Sep 2023 19:38:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229459AbjI0Tif (ORCPT ); Wed, 27 Sep 2023 15:38:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjI0Tie (ORCPT ); Wed, 27 Sep 2023 15:38:34 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8072D122 for ; Wed, 27 Sep 2023 12:38:32 -0700 (PDT) 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 1qlaLy-00026g-2W; Wed, 27 Sep 2023 21:37:46 +0200 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 1qlaLs-009PZ9-LJ; Wed, 27 Sep 2023 21:37:40 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qlaLs-005RfL-9X; Wed, 27 Sep 2023 21:37:40 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: "Rafael J. Wysocki" , Daniel Lezcano Cc: Guillaume La Roque , Amit Kucheria , Zhang Rui , linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org, kernel@pengutronix.de, Miquel Raynal , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , ye xingchen , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Balsam CHIHI , Adam Ward , Kunihiko Hayashi , AngeloGioacchino Del Regno , Support Opensource , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , Srinivas Pandruvada , Yang Yingliang , Matthias Brugger , =?utf-8?b?TsOtY29sYXMgRi4gUi4g?= =?utf-8?b?QS4gUHJhZG8=?= , Alexandre Mergnat , Chen-Yu Tsai , Chen Jiahao , linux-mediatek@lists.infradead.org, Thara Gopinath , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= , linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Alim Akhtar , linux-samsung-soc@vger.kernel.org, Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Florian Fainelli , Rob Herring , Minghao Chi , linux-stm32@st-md-mailman.stormreply.com, Thierry Reding , Jonathan Hunter , Jernej Skrabec , Johan Hovold , linux-tegra@vger.kernel.org, Mikko Perttunen , Eduardo Valentin , Keerthy , linux-omap@vger.kernel.org, Masami Hiramatsu Subject: [PATCH 00/31] thermal: Convert to platform remove callback returning void Date: Wed, 27 Sep 2023 21:37:05 +0200 Message-Id: <20230927193736.2236447-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5170; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=2L69+4GE6Q2OL+RVVKSxPv+do5u2Ko5kq68QSNMRgfA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlFIRZWCqRy7l7yarbl47C5yOf60xNKfQ07iYJW A/EEIHW5MqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZRSEWQAKCRCPgPtYfRL+ Tu/sB/9Fn3Qg/Pk83TcfVVbu0SeXU/QOP+wQUG8fohOU85pUfxYkY2y+BVYOyX888wGbpmejtdt gW91oAV/dzkhd4Wr86G902HZjFECPbFhgFmENf63i4l4QNzQ8C6SLHeMWu7lKqGRrZF7ZGaGfWR IfLabFwqVCWBSyzWkwWFHFNYfMPAK60prZP+DNUDxK4NrGyRl7ExVV8C0C9zZorPoQ9B/Zn/ljw gidyl7KiLovd01L3cZgFeEQp8wKCgh5hqnCBvL+ze8e51hLIpYH8VnRjGOdMOPeeBbWlYUzK0Mo xhWkvBmAo5OvZftn9CDCw3HOp2YACajk8dVDXk/5/gIaMV0F 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-pm@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hello, this series converts all platform drivers below drivers/thermal to use .remove_new(). The motivation is to get rid of an integer return code that is (mostly) ignored by the platform driver core and error prone on the driver side. See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. There are no interdependencies between the patches. As there are still quite a few drivers to convert, I'm happy about every patch that makes it in. So even if there is a merge conflict with one patch until you apply or a subject prefix is suboptimal, please apply the remainder of this series anyhow. Best regards Uwe Uwe Kleine-König (31): thermal: amlogic: Convert to platform remove callback returning void thermal: armada: Convert to platform remove callback returning void thermal: bcm2835: Convert to platform remove callback returning void thermal: ns: Convert to platform remove callback returning void thermal: da9062: Convert to platform remove callback returning void thermal: dove: Convert to platform remove callback returning void thermal: hisi: Convert to platform remove callback returning void thermal: imx8mm: Convert to platform remove callback returning void thermal: imx: Convert to platform remove callback returning void thermal: int3400: Convert to platform remove callback returning void thermal: int3401: Convert to platform remove callback returning void thermal: int3402: Convert to platform remove callback returning void thermal: int3403: Convert to platform remove callback returning void thermal: int3406: Convert to platform remove callback returning void thermal: k3_bandgap: Convert to platform remove callback returning void thermal: k3_j72xx_bandgap: Convert to platform remove callback returning void thermal: kirkwood: Convert to platform remove callback returning void thermal: lvts: Convert to platform remove callback returning void thermal: tsens: Convert to platform remove callback returning void thermal: rcar_gen3: Convert to platform remove callback returning void thermal: rcar: Convert to platform remove callback returning void thermal: rockchip: Convert to platform remove callback returning void thermal: rzg2l: Convert to platform remove callback returning void thermal: exynos_tmu: Convert to platform remove callback returning void thermal: spear: Convert to platform remove callback returning void thermal: sprd: Convert to platform remove callback returning void thermal: stm: Convert to platform remove callback returning void thermal: soctherm: Convert to platform remove callback returning void thermal: tegra-bpmp: Convert to platform remove callback returning void thermal: ti-bandgap: Convert to platform remove callback returning void thermal: uniphier: Convert to platform remove callback returning void drivers/thermal/amlogic_thermal.c | 12 +++++------- drivers/thermal/armada_thermal.c | 6 ++---- drivers/thermal/broadcom/bcm2835_thermal.c | 6 ++---- drivers/thermal/broadcom/ns-thermal.c | 6 ++---- drivers/thermal/da9062-thermal.c | 5 ++--- drivers/thermal/dove_thermal.c | 6 ++---- drivers/thermal/hisi_thermal.c | 6 ++---- drivers/thermal/imx8mm_thermal.c | 6 ++---- drivers/thermal/imx_thermal.c | 6 ++---- .../thermal/intel/int340x_thermal/int3400_thermal.c | 5 ++--- .../thermal/intel/int340x_thermal/int3401_thermal.c | 6 ++---- .../thermal/intel/int340x_thermal/int3402_thermal.c | 6 ++---- .../thermal/intel/int340x_thermal/int3403_thermal.c | 6 ++---- .../thermal/intel/int340x_thermal/int3406_thermal.c | 5 ++--- drivers/thermal/k3_bandgap.c | 6 ++---- drivers/thermal/k3_j72xx_bandgap.c | 6 ++---- drivers/thermal/kirkwood_thermal.c | 6 ++---- drivers/thermal/mediatek/lvts_thermal.c | 6 ++---- drivers/thermal/qcom/tsens.c | 6 ++---- drivers/thermal/rcar_gen3_thermal.c | 6 ++---- drivers/thermal/rcar_thermal.c | 6 ++---- drivers/thermal/rockchip_thermal.c | 6 ++---- drivers/thermal/rzg2l_thermal.c | 6 ++---- drivers/thermal/samsung/exynos_tmu.c | 6 ++---- drivers/thermal/spear_thermal.c | 6 ++---- drivers/thermal/sprd_thermal.c | 5 ++--- drivers/thermal/st/stm_thermal.c | 6 ++---- drivers/thermal/tegra/soctherm.c | 6 ++---- drivers/thermal/tegra/tegra-bpmp-thermal.c | 6 ++---- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 6 ++---- drivers/thermal/uniphier_thermal.c | 6 ++---- 31 files changed, 65 insertions(+), 123 deletions(-) base-commit: 18030226a48de1fbfabf4ae16aaa2695a484254f Acked-by: Daniel Lezcano