Message ID | 20230517230239.187727-1-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-usb-owner@vger.kernel.org> 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 C4DC4C77B75 for <linux-usb@archiver.kernel.org>; Wed, 17 May 2023 23:07:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbjEQXHQ (ORCPT <rfc822;linux-usb@archiver.kernel.org>); Wed, 17 May 2023 19:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjEQXHP (ORCPT <rfc822;linux-usb@vger.kernel.org>); Wed, 17 May 2023 19:07:15 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B10849C1 for <linux-usb@vger.kernel.org>; Wed, 17 May 2023 16:06:35 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ukl@pengutronix.de>) id 1pzQAe-0007j8-SV; Thu, 18 May 2023 01:03:00 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ukl@pengutronix.de>) id 1pzQAM-000wnW-Uj; Thu, 18 May 2023 01:02:42 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ukl@pengutronix.de>) id 1pzQAM-005UVF-2k; Thu, 18 May 2023 01:02:42 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Peter Chen <peter.chen@kernel.org>, Pawel Laszczak <pawell@cadence.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Chunfeng Yun <chunfeng.yun@mediatek.com>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Prashanth K <quic_prashk@quicinc.com>, Minas Harutyunyan <hminas@synopsys.com>, Thinh Nguyen <Thinh.Nguyen@synopsys.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Patrice Chotard <patrice.chotard@foss.st.com>, Michal Simek <michal.simek@amd.com>, Linus Walleij <linus.walleij@linaro.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Joel Stanley <joel@jms.id.au>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Lei YU <yulei.sh@bytedance.com>, Neal Liu <neal_liu@aspeedtech.com>, Henry Tian <tianxiaofeng@bytedance.com>, Cristian Birsan <cristian.birsan@microchip.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Kevin Cernekee <cernekee@gmail.com>, Justin Chen <justinpopo6@gmail.com>, Al Cooper <alcooperx@gmail.com>, Li Yang <leoyang.li@nxp.com>, Gaosheng Cui <cuigaosheng1@huawei.com>, Alan Stern <stern@rowland.harvard.edu>, Aaro Koskinen <aaro.koskinen@iki.fi>, Paolo Abeni <pabeni@redhat.com>, "Steven Rostedt (Google)" <rostedt@goodmis.org>, Kalle Valo <kvalo@kernel.org>, Kang Chen <void0red@gmail.com>, Shaomin Deng <dengshaomin@cdjrlc.com>, Arnd Bergmann <arnd@arndb.de>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Richard Leitner <richard.leitner@linux.dev>, Colin Ian King <colin.i.king@gmail.com>, Wolfram Sang <wsa+renesas@sang-engineering.com>, Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Biju Das <biju.das.jz@bp.renesas.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Zheng Wang <zyytlz.wz@163.com>, Phil Edworthy <phil.edworthy@renesas.com>, Herve Codina <herve.codina@bootlin.com>, Rob Herring <robh@kernel.org>, Wayne Chang <waynec@nvidia.com>, Haotien Hsu <haotienh@nvidia.com>, Jim Lin <jilin@nvidia.com>, Tang Bin <tangbin@cmss.chinamobile.com>, Sing-Han Chen <singhanc@nvidia.com>, Piyush Mehta <piyush.mehta@amd.com>, Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>, Tali Perry <tali.perry1@gmail.com>, Darren Stevens <darren@stevens-zone.net>, Alexander Stein <alexander.stein@ew.tq-group.com>, Olav Kongas <ok@artecdesign.ee>, Artur Bujdoso <artur.bujdoso@gmail.com>, Vladimir Zapolskiy <vz@mleia.com>, "Gustavo A. R. Silva" <gustavoars@kernel.org>, Mathias Nyman <mathias.nyman@intel.com>, Matthias Brugger <matthias.bgg@gmail.com>, Rui Miguel Silva <rui.silva@linaro.org>, Souradeep Chowdhury <quic_schowdhu@quicinc.com>, Francesco Dolcini <francesco.dolcini@toradex.com>, Emanuele Ghidoli <emanuele.ghidoli@toradex.com>, Jean Delvare <jdelvare@suse.de>, Dongliang Mu <mudongliangabcd@gmail.com>, Hans de Goede <hdegoede@redhat.com>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Guenter Roeck <linux@roeck-us.net>, Dan Carpenter <error27@gmail.com>, =?utf-8?q?Samuel_=C4=8Cavoj?= <samuel@cavoj.net>, Valentina Manea <valentina.manea.m@gmail.com>, Shuah Khan <shuah@kernel.org> Cc: linux-usb@vger.kernel.org, kernel@pengutronix.de, Roger Quadros <rogerq@kernel.org>, Aswath Govindraju <a-govindraju@ti.com>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, Alim Akhtar <alim.akhtar@samsung.com>, linux-samsung-soc@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, linux-amlogic@lists.infradead.org, linux-omap@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org>, linux-arm-msm@vger.kernel.org, Andrew Jeffery <andrew@aj.id.au>, linux-aspeed@lists.ozlabs.org, Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, Patrick Venture <venture@google.com>, Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>, openbmc@lists.ozlabs.org, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, linux-mediatek@lists.infradead.org, Hongren Zheng <i@zenithal.me> Subject: [PATCH 00/97] usb: Convert to platform remove callback returning void Date: Thu, 18 May 2023 01:01:02 +0200 Message-Id: <20230517230239.187727-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=13896; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=fqdhPP54usEi8baXSoJI3FzPlkc2fS3jhA8DcZSCQuk=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBkZVvo7YCpz/3hjEBffLjdT8PvX4si+92iw+jNb Tz6v0ULfQiJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZGVb6AAKCRCPgPtYfRL+ TlYMCACAXHsbcSe2/YxZgpBERFMM+jw4JinGM2u2mtbpocRgDWydlQkNFy06NXz1h2u2LDPPSIk iwAWSLfyjZF5lILnnr1YPqSGMAud+fjVygVXeafiHtV2ZVmijZlE5qO5hIdvYYfYPm00rV346M1 0n6/klc5RNf6vwRbm5bfbW4TL9w/yh7gjm3FhYVqzy2qnbyWjW2RI51VigjlXmPY0yu7Fc+E3/g 977tkeVRRvrmYhF1SBhLzzklWCnQ98bnL+n69yxGNr1WiQY2NG+etq4cDuF0q8cOAYWpmmIt5MX nmIPrvIgStBnrRfZ8cNeWWPjB9kFO+x2K8B7eEv8WwwsqITu X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit 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.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-usb@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
usb: Convert to platform remove callback returning void
|
expand
|
On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > Hello, > > this series convers the drivers below drivers/usb to the .remove_new() > callback of struct platform_driver(). The motivation is to make the > remove callback less prone for errors and wrong assumptions. See commit > 5c5a7680e67b ("platform: Provide a remove callback that returns no > value") for a more detailed rationale. > > All drivers converted here already returned zero unconditionally in their > .remove() callback, so converting them to .remove_new() is trivial. All but 2 patches applied, as one was for a driver that wasn't in the tree anymore, and the dwc2 patch didn't apply at all. thanks, greg k-h
On Sun, May 28, 2023 at 12:37:17PM +0100, Greg Kroah-Hartman wrote: > On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > this series convers the drivers below drivers/usb to the .remove_new() > > callback of struct platform_driver(). The motivation is to make the > > remove callback less prone for errors and wrong assumptions. See commit > > 5c5a7680e67b ("platform: Provide a remove callback that returns no > > value") for a more detailed rationale. > > > > All drivers converted here already returned zero unconditionally in their > > .remove() callback, so converting them to .remove_new() is trivial. > > All but 2 patches applied, as one was for a driver that wasn't in the > tree anymore, and the dwc2 patch didn't apply at all. Oops, the xhci patches broke the build so I dropped them too. Please regenerate the series against the next linux-next that has these in them and resend the remaining bits. thanks, greg k-h