From patchwork Wed Sep 20 12:57:37 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: 13392716 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 6226FCE79D1 for ; Wed, 20 Sep 2023 12:59:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236372AbjITM7d (ORCPT ); Wed, 20 Sep 2023 08:59:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236371AbjITM7a (ORCPT ); Wed, 20 Sep 2023 08:59:30 -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 1FA4CD7 for ; Wed, 20 Sep 2023 05:59:24 -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 1qiwmz-000587-4p; Wed, 20 Sep 2023 14:58:45 +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 1qiwmq-007gyN-0B; Wed, 20 Sep 2023 14:58:36 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qiwmp-003ICS-Ks; Wed, 20 Sep 2023 14:58:35 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Dmitry Torokhov Cc: Michael Hennerich , linux-input@vger.kernel.org, kernel@pengutronix.de, Benson Leung , Guenter Roeck , Greg Kroah-Hartman , Jonathan Cameron , =?utf-8?b?am9ld3UgKOWQsw==?= =?utf-8?b?5Luy5oyvKQ==?= , chrome-platform@lists.linux.dev, Andy Shevchenko , Mattijs Korpershoek , Jeff LaBundy , Rob Herring , Siarhei Volkau , Pavel Machek , "Steven Rostedt (Google)" , Paolo Abeni , Kalle Valo , Yangtao Li , ye xingchen , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Support Opensource , Andrey Moiseev , Lee Jones , Linus Walleij , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Hans de Goede , Miloslav Trmac , patches@opensource.cirrus.com, Christophe JAILLET , Liang He , Chen Jun , Ruan Jinjie , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-sunxi@lists.linux.dev, Michal Simek , Robert Jarzmik , Dmitry Baryshkov , Arnd Bergmann , "Rafael J. Wysocki" , Krzysztof Kozlowski , Daniel Lezcano , Jonathan Corbet Subject: [PATCH 00/52] input: Convert to platform remove callback returning void Date: Wed, 20 Sep 2023 14:57:37 +0200 Message-Id: <20230920125829.1478827-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=7964; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=rWdlzhLIsHdM03iIkzA+11kS9bDXeLiLuCT43NqOQEY=; b=owGbwMvMwMXY3/A7olbonx/jabUkhlSuN8ZmSTKloh8yuFfy5MV5+uWsEeuNnvFmY9DEnP0nc mxS2Ys6GY1ZGBi5GGTFFFnsG9dkWlXJRXau/XcZZhArE8gUBi5OAZhI9l32f+prjjenxj/xNLI/ fCZcNn9G469/HMsa190y6F523t9fXWCd7K3veRHzPn4uUmXpVu7IVMq7Z1gYIv12T02du9Hygtm x111E7772uLAgK2i+p4KXma7iPda+l2/SmvTeLQ06vuyleBS3hmnPkp/vlyf81g8qWyQ2Jf3I2a tuP0tlnjwV4ddmDFzW6MtRLFlc9HDu4oR5aYHXukvPsnU3rX50flr8LMH41Xl9VQezPB4c46xVl WzNb+/ZvIBjXZ9844U1y7xbuhZtMo0v51cqmqJ6XK0yULdrwd+NO6X7gp6cnWE2z+zOtizOedHn 6mvWfReo3inFY8jS1lP4KX9rgZ98eVBpuZ6M54SIWxsB 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-arm-msm@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, this series converts all platform drivers below drivers/input 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 (52): input: adp5520-keys - Convert to platform remove callback returning void input: cros_ec_keyb - Convert to platform remove callback returning void input: ep93xx_keypad - Convert to platform remove callback returning void input: iqs62x-keys - Convert to platform remove callback returning void input: matrix_keypad - Convert to platform remove callback returning void input: omap-keypad - Convert to platform remove callback returning void input: omap4-keypad - Convert to platform remove callback returning void input: samsung-keypad - Convert to platform remove callback returning void input: sh_keysc - Convert to platform remove callback returning void input: spear-keyboard - Convert to platform remove callback returning void input: stmpe-keypad - Convert to platform remove callback returning void input: 88pm80x_onkey - Convert to platform remove callback returning void input: da9052_onkey - Convert to platform remove callback returning void input: da9055_onkey - Convert to platform remove callback returning void input: ideapad_slidebar - Convert to platform remove callback returning void input: m68kspkr - Convert to platform remove callback returning void input: max8997_haptic - Convert to platform remove callback returning void input: mc13783-pwrbutton - Convert to platform remove callback returning void input: palmas-pwrbutton - Convert to platform remove callback returning void input: pcap_keys - Convert to platform remove callback returning void input: pcf50633-input - Convert to platform remove callback returning void input: pcspkr - Convert to platform remove callback returning void input: pm8941-pwrkey - Convert to platform remove callback returning void input: soc_button_array - Convert to platform remove callback returning void input: sparcspkr - Convert to platform remove callback returning void input: wistron_btns - Convert to platform remove callback returning void input: wm831x-on - Convert to platform remove callback returning void input: navpoint - Convert to platform remove callback returning void input: altera_ps2 - Convert to platform remove callback returning void input: ams_delta_serio - Convert to platform remove callback returning void input: apbps2 - Convert to platform remove callback returning void input: arc_ps2 - Convert to platform remove callback returning void input: ct82c710 - Convert to platform remove callback returning void drivers/input/serio/i8042-sparcio.h :: Convert to platform remove callback returning void input: i8042 - Convert to platform remove callback returning void input: ioc3kbd - Convert to platform remove callback returning void input: maceps2 - Convert to platform remove callback returning void input: olpc_apsp - Convert to platform remove callback returning void input: ps2-gpio - Convert to platform remove callback returning void input: q40kbd - Convert to platform remove callback returning void input: rpckbd - Convert to platform remove callback returning void input: sun4i-ps2 - Convert to platform remove callback returning void input: xilinx_ps2 - Convert to platform remove callback returning void input: da9052_tsi - Convert to platform remove callback returning void input: mainstone-wm97xx - Convert to platform remove callback returning void input: mc13783_ts - Convert to platform remove callback returning void input: pcap_ts - Convert to platform remove callback returning void input: stmpe-ts - Convert to platform remove callback returning void input: sun4i-ts - Convert to platform remove callback returning void input: ti_am335x_tsc - Convert to platform remove callback returning void input: wm831x-ts - Convert to platform remove callback returning void input: wm97xx-core - Convert to platform remove callback returning void drivers/input/keyboard/adp5520-keys.c | 6 ++---- drivers/input/keyboard/cros_ec_keyb.c | 6 ++---- drivers/input/keyboard/ep93xx_keypad.c | 6 ++---- drivers/input/keyboard/iqs62x-keys.c | 6 ++---- drivers/input/keyboard/matrix_keypad.c | 6 ++---- drivers/input/keyboard/omap-keypad.c | 6 ++---- drivers/input/keyboard/omap4-keypad.c | 6 ++---- drivers/input/keyboard/samsung-keypad.c | 6 ++---- drivers/input/keyboard/sh_keysc.c | 6 ++---- drivers/input/keyboard/spear-keyboard.c | 6 ++---- drivers/input/keyboard/stmpe-keypad.c | 6 ++---- drivers/input/misc/88pm80x_onkey.c | 5 ++--- drivers/input/misc/da9052_onkey.c | 6 ++---- drivers/input/misc/da9055_onkey.c | 6 ++---- drivers/input/misc/ideapad_slidebar.c | 6 ++---- drivers/input/misc/m68kspkr.c | 6 ++---- drivers/input/misc/max8997_haptic.c | 6 ++---- drivers/input/misc/mc13783-pwrbutton.c | 6 ++---- drivers/input/misc/palmas-pwrbutton.c | 6 ++---- drivers/input/misc/pcap_keys.c | 6 ++---- drivers/input/misc/pcf50633-input.c | 6 ++---- drivers/input/misc/pcspkr.c | 6 ++---- drivers/input/misc/pm8941-pwrkey.c | 6 ++---- drivers/input/misc/soc_button_array.c | 6 ++---- drivers/input/misc/sparcspkr.c | 12 ++++-------- drivers/input/misc/wistron_btns.c | 6 ++---- drivers/input/misc/wm831x-on.c | 6 ++---- drivers/input/mouse/navpoint.c | 6 ++---- drivers/input/serio/altera_ps2.c | 6 ++---- drivers/input/serio/ams_delta_serio.c | 6 ++---- drivers/input/serio/apbps2.c | 6 ++---- drivers/input/serio/arc_ps2.c | 6 ++---- drivers/input/serio/ct82c710.c | 6 ++---- drivers/input/serio/i8042-sparcio.h | 6 ++---- drivers/input/serio/i8042.c | 6 ++---- drivers/input/serio/ioc3kbd.c | 6 ++---- drivers/input/serio/maceps2.c | 6 ++---- drivers/input/serio/olpc_apsp.c | 6 ++---- drivers/input/serio/ps2-gpio.c | 5 ++--- drivers/input/serio/q40kbd.c | 6 ++---- drivers/input/serio/rpckbd.c | 6 ++---- drivers/input/serio/sun4i-ps2.c | 6 ++---- drivers/input/serio/xilinx_ps2.c | 6 ++---- drivers/input/touchscreen/da9052_tsi.c | 6 ++---- drivers/input/touchscreen/mainstone-wm97xx.c | 6 ++---- drivers/input/touchscreen/mc13783_ts.c | 6 ++---- drivers/input/touchscreen/pcap_ts.c | 6 ++---- drivers/input/touchscreen/stmpe-ts.c | 6 ++---- drivers/input/touchscreen/sun4i-ts.c | 6 ++---- drivers/input/touchscreen/ti_am335x_tsc.c | 5 ++--- drivers/input/touchscreen/wm831x-ts.c | 6 ++---- drivers/input/touchscreen/wm97xx-core.c | 6 ++---- 52 files changed, 106 insertions(+), 209 deletions(-) base-commit: 926f75c8a5ab70567eb4c2d82fbc96963313e564