From patchwork Thu Sep 28 07:06:43 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: 13402247 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 59F12CE7B0D for ; Thu, 28 Sep 2023 08:15:56 +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=LDQVtBiLG1kU/49unmV8GSBvPCvJtA06f2Yw0CnsRyA=; b=QnsEpa7vsBEqlk z+EwPcgK8bpzKX4Gl4zy/UBlewH5Cmf9DynJxD0DVm3TKzwVh31dJdktLvi4QDXi+4ImqMBzp5R7J 3CjZdo3CSq7wuJNlJX8E+J4iaPMViJ8+BzLxjKBc4vQ6Jlf8RrqaCcHhuxIol3V2jbRMbVFZ+ozww YIGjiPaEKD972CrP79oYnd8RmVQ6jWdwD2RbTdzG8OUh7jYEyh66VbQcJaizFAnUE2HK6ZgyA+svf MQQtulGEyXvGNK77Cz7NILKoN7m3gRjVj7jnJDyU7HjzWL444/JbZmt7sWzGA6FPW4UoBYEBf7Mvl Gqd5ztyxjxJIPCDQc4KA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlmBQ-002b8p-0N; Thu, 28 Sep 2023 08:15:40 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qll7M-002Ruu-1k for linux-rockchip@lists.infradead.org; Thu, 28 Sep 2023 07:07:27 +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 1qll78-0002OF-HC; Thu, 28 Sep 2023 09:07:10 +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 1qll76-009WBJ-GR; Thu, 28 Sep 2023 09:07:08 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qll76-005ZWt-6N; Thu, 28 Sep 2023 09:07:08 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Linus Walleij , Bartosz Golaszewski Cc: Mun Yew Tham , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Doug Berger , Florian Fainelli , Broadcom internal kernel review list , linux-arm-kernel@lists.infradead.org, Vladimir Zapolskiy , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , linux-omap@vger.kernel.org, Heiko Stuebner , linux-rockchip@lists.infradead.org, Kunihiko Hayashi , Masami Hiramatsu , Ray Jui , Scott Branden , Shubhrajyoti Datta , Srinivas Neeli , Michal Simek Subject: [PATCH 00/23] gpio: Convert to platform remove callback returning void Date: Thu, 28 Sep 2023 09:06:43 +0200 Message-Id: <20230928070706.2290137-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=3428; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=9nVFxGPuj5YEs5+UoDMSL9lOpLvMcm5LijwLBu1OgY0=; b=owGbwMvMwMXY3/A7olbonx/jabUkhlRRlbi37y8E5iUprBU55fWONSpc9UxszTNr5mun8j+Uu t92X/2zk9GYhYGRi0FWTJHFvnFNplWVXGTn2n+XYQaxMoFMYeDiFICJ/GDmYJil6yYgrW5zzHXJ 6dTP9rPmfYzPaTlix2sdEyfhGtR3wz3vHlP8hks+y7sf31E3iunNkhfz2hv77caTbTEMqVa7dj+ y+qGr88P5JN+etWlKf0uO1hmGC2vMYOzSPvLm6mb2JWeW2zqsXiXT9iM+tLrhiEVCryy7Q3fA0e 1+/atYj/aFbme9s3/b9ujfr3X/Gi/0NWxJY+xK65DJM3ewlxcW7C59v3nRhPULzgUdmqnXe932l 3N8nkRxx7VcvUvyJuyX3v7jiPIQ8/X5lZLWm3PL0iZ0rs/GtbPnz1P/9n9n1vHpARYrGnkL95na v6h3Ktr4J3rdVU1jXr2On9obKhMEsw6I/7yw7/zMlohkAA== 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-rockchip@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230928_000724_586737_3DF93F55 X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hello, this series converts all platform drivers below drivers/gpio 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 (23): gpio: altera: Convert to platform remove callback returning void gpio: amdpt: Convert to platform remove callback returning void gpio: brcmstb: Convert to platform remove callback returning void gpio: cadence: Convert to platform remove callback returning void gpio: dln2: Convert to platform remove callback returning void gpio: ftgpio010: Convert to platform remove callback returning void gpio: grgpio: Convert to platform remove callback returning void gpio: ljca: Convert to platform remove callback returning void gpio: lpc18xx: Convert to platform remove callback returning void gpio: mb86s7x: Convert to platform remove callback returning void gpio: mm-lantiq: Convert to platform remove callback returning void gpio: mpc5200: Convert to platform remove callback returning void gpio: mpc8xxx: Convert to platform remove callback returning void gpio: omap: Convert to platform remove callback returning void gpio: rcar: Convert to platform remove callback returning void gpio: rockchip: Convert to platform remove callback returning void gpio: tb10x: Convert to platform remove callback returning void gpio: ts5500: Convert to platform remove callback returning void gpio: uniphier: Convert to platform remove callback returning void gpio: xgene-sb: Convert to platform remove callback returning void gpio: xgs-iproc: Convert to platform remove callback returning void gpio: xilinx: Convert to platform remove callback returning void gpio: zynq: Convert to platform remove callback returning void drivers/gpio/gpio-altera.c | 6 ++---- drivers/gpio/gpio-amdpt.c | 6 ++---- drivers/gpio/gpio-brcmstb.c | 6 ++---- drivers/gpio/gpio-cadence.c | 6 ++---- drivers/gpio/gpio-dln2.c | 6 ++---- drivers/gpio/gpio-ftgpio010.c | 6 ++---- drivers/gpio/gpio-grgpio.c | 6 ++---- drivers/gpio/gpio-ljca.c | 5 ++--- drivers/gpio/gpio-lpc18xx.c | 6 ++---- drivers/gpio/gpio-mb86s7x.c | 6 ++---- drivers/gpio/gpio-mm-lantiq.c | 6 ++---- drivers/gpio/gpio-mpc5200.c | 8 +++----- drivers/gpio/gpio-mpc8xxx.c | 6 ++---- drivers/gpio/gpio-omap.c | 6 ++---- drivers/gpio/gpio-rcar.c | 5 ++--- drivers/gpio/gpio-rockchip.c | 6 ++---- drivers/gpio/gpio-tb10x.c | 6 ++---- drivers/gpio/gpio-ts5500.c | 6 ++---- drivers/gpio/gpio-uniphier.c | 6 ++---- drivers/gpio/gpio-xgene-sb.c | 6 ++---- drivers/gpio/gpio-xgs-iproc.c | 6 ++---- drivers/gpio/gpio-xilinx.c | 6 ++---- drivers/gpio/gpio-zynq.c | 5 ++--- 23 files changed, 47 insertions(+), 90 deletions(-) base-commit: 719136e5c24768ebdf80b9daa53facebbdd377c3 Reviewed-by: Linus Walleij