From patchwork Mon Oct 9 08:38:36 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: 13413187 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 53D5DE95A8E for ; Mon, 9 Oct 2023 09:24:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345800AbjJIJX7 (ORCPT ); Mon, 9 Oct 2023 05:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345742AbjJIJXM (ORCPT ); Mon, 9 Oct 2023 05:23:12 -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 69A8F125 for ; Mon, 9 Oct 2023 02:23:04 -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 1qpmTE-0006sS-FJ; Mon, 09 Oct 2023 11:22:36 +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 1qpmTB-000NWK-WD; Mon, 09 Oct 2023 11:22:34 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qpmTB-00C4om-Lw; Mon, 09 Oct 2023 11:22:33 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Linus Walleij Cc: Tony Lindgren , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li , Andy Shevchenko , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, Charles Keepax , Richard Fitzgerald , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, Mika Westerberg , Andy Shevchenko , Basavaraj Natikar , Shyam Sundar S K , Jesper Nilsson , Lars Persson , linux-arm-kernel@axis.com, Heiko Stuebner , linux-rockchip@lists.infradead.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org Subject: [PATCH 00/20] pinctrl: Convert to platform remove callback returning void Date: Mon, 9 Oct 2023 10:38:36 +0200 Message-Id: <20231009083856.222030-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=3496; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=pt9OZIbEVRO7CYphejzNzNKVBdTQOuLMQfjMm/xdSsg=; b=owGbwMvMwMXY3/A7olbonx/jabUkhlTl3b98hd42/517xHB/gviiPU/9MqwUZ0mXf7uieqT57 e1Tr4s5OxmNWRgYuRhkxRRZ7BvXZFpVyUV2rv13GWYQKxPIFAYuTgGYiNF79n9mT5b+PJ2R+ikl wLMnduL/rK7Z79ojXnBnnL3QVfV6IeOf7r+yDxdeUQ/VNbcoUj9/TSL8bE71Y7sDqxerpXI6VEs /1P97Z0YuT218uWOkw/O0NY6abDVGc6fHL8n96l+lGaq7OrdAK4Ax5VjhrnRrd5OA6peWBvlTb3 AyXvpSMPXrLx65FXyMmsnHnqZ+uvjL8HBZBXOtsu7S3Jpkh9r2xaYef+NnftHqsljaMnF9yufEf 1E6pW1rZr69u0fZs2RLfUdYQdgLp/hzIZpzmerWsjlmfmDdx9Wlc7RYWop3kxrz7+18KXNuV655 FaFwVYNlX9ml35+UxAPLrx9fo8B+cpJOMQ9zsGQi0zFOAA== 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-omap@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hello, after three minor improvements/simplifications this series converts all platform_drivers below drivers/pinctrl to .remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The only interdependencies in this series are the patches that touch a single driver (that is (1, 13), (2, 12), (3, 20)). 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 different concern that doesn't apply to all patches), please apply the remainder of this series anyhow. I'll come back to the part that you (maybe) skipped at a later point. Best regards Uwe Uwe Kleine-König (20): pinctrl: stmfx: Improve error message in .remove()'s error path pinctrl: single: Drop if block with always false condition pinctrl: ti: ti-iodelay: Drop if block with always false condition pinctrl: cirrus: madera-core: Convert to platform remove callback returning void pinctrl: intel: cherryview: Convert to platform remove callback returning void pinctrl: intel: lynxpoint: Convert to platform remove callback returning void pinctrl: nomadik: abx500: Convert to platform remove callback returning void pinctrl: amd: Convert to platform remove callback returning void pinctrl: artpec6: Convert to platform remove callback returning void pinctrl: as3722: Convert to platform remove callback returning void pinctrl: rockchip: Convert to platform remove callback returning void pinctrl: single: Convert to platform remove callback returning void pinctrl: stmfx: Convert to platform remove callback returning void pinctrl: tb10x: Convert to platform remove callback returning void pinctrl: qcom: spmi-gpio: Convert to platform remove callback returning void pinctrl: qcom: spmi-mpp: Convert to platform remove callback returning void pinctrl: qcom: ssbi-gpio: Convert to platform remove callback returning void pinctrl: qcom: ssbi-mpp: Convert to platform remove callback returning void pinctrl: renesas: rzn1: Convert to platform remove callback returning void pinctrl: ti: ti-iodelay: Convert to platform remove callback returning void drivers/pinctrl/cirrus/pinctrl-madera-core.c | 6 ++---- drivers/pinctrl/intel/pinctrl-cherryview.c | 6 ++---- drivers/pinctrl/intel/pinctrl-lynxpoint.c | 5 ++--- drivers/pinctrl/nomadik/pinctrl-abx500.c | 5 ++--- drivers/pinctrl/pinctrl-amd.c | 6 ++---- drivers/pinctrl/pinctrl-artpec6.c | 6 ++---- drivers/pinctrl/pinctrl-as3722.c | 5 ++--- drivers/pinctrl/pinctrl-rockchip.c | 6 ++---- drivers/pinctrl/pinctrl-single.c | 9 ++------- drivers/pinctrl/pinctrl-stmfx.c | 16 ++++++++++------ drivers/pinctrl/pinctrl-tb10x.c | 6 ++---- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 5 ++--- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 5 ++--- drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 6 ++---- drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 6 ++---- drivers/pinctrl/renesas/pinctrl-rzn1.c | 6 ++---- drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 11 ++--------- 17 files changed, 42 insertions(+), 73 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d