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: 14633 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3129291vqu; Thu, 28 Sep 2023 00:20:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHd1MA2rtAlZpbt3RSEeWqUZ5VdCJRTkOdve/lut7gzZwtqt3Y7+ks96flqvbvumWgtgkQq X-Received: by 2002:a25:774c:0:b0:d3c:ccb:2c8 with SMTP id s73-20020a25774c000000b00d3c0ccb02c8mr413465ybc.29.1695885645496; Thu, 28 Sep 2023 00:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695885645; cv=none; d=google.com; s=arc-20160816; b=UvSuo+Aj+dgPRYcG66WCmo1Nl2KST1CHJqFPGMDoMdSQAyCU7qsyvsSnpQa8thkAxp N+P7dsq2hg7oqF1sO1Le2TFpoZ8RyocrvO8pwCsHBwvaOBuCaoFg92zR/V/elCn3PwWz tA2MQfDw18oZPpCMM812sAOOw5LGtcYFOkXCGUQVgdkQpFezKNHalG4RhnJcwgiBWPmT yzEB3Xd8Wk07fObrF+JgwWTzD0sT5UWz4uv062MtQM99qTLoKidXn6+rcsSGUrHRd74y 6Wp489iKpmDVDlQ1wbbi5n2y+sic1eoe/uC00ol6UJxwWOJJ9gN02SmLAAxHLkBx6GTH KhrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=B2BCnaAhf7rOLmrtcwa6fH964l3tK2d5o1m4aKNxAaw=; fh=0FwM/WyTuK8PXbE/5MNeBdUbvwqNQIMdmUUp/tkiPkM=; b=f3aSpj4zZfkU6sYOTWtBzc/3upfJLIpJSaN7+KCAx2FQyGI6xPiFZJC22mNmTN6NJI Tj+EWljX1d+utMWIUJ5MkxTJMgL9qss5xtD2+UNqWkYchA0rileo4WC0hPdLixkQ5OPe 9Trel+gkXdcDuBedJwmt5Hs6AApmW9GVhBI0nDjyuZz2+CsRoNKgtznslj00dH+wHu1R 91rIKEZ00V83D1etsIRLPPiuRtKZTE3gPoZPBhdFtAp+3znjlQzXPyitjvJNqIL7P1i2 aDNFrZ5KUksxQp74edP0+1atleJROjo1Ivt3/ql/xbeOjMln/4OGcMjcq+9ab055t32L fSKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id m9-20020a654389000000b005638355e989si17259743pgp.773.2023.09.28.00.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 00:20:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9D128823CE80; Thu, 28 Sep 2023 00:08:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231533AbjI1HIO (ORCPT + 20 others); Thu, 28 Sep 2023 03:08:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231265AbjI1HHW (ORCPT ); Thu, 28 Sep 2023 03:07:22 -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 D8E22CD7 for ; Thu, 28 Sep 2023 00:07:17 -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 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-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 00:08:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778264986571899335 X-GMAIL-MSGID: 1778264986571899335 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