Message ID | 20230920125829.1478827-1-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
Headers | show |
Series | input: Convert to platform remove callback returning void | expand |
On Wed, Sep 20, 2023 at 02:57:37PM +0200, Uwe Kleine-König wrote: > 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. Applied the lot (fixing the i8042-sparcio patch subject), thank you!
Hello Dmitry, On Sat, Sep 23, 2023 at 07:48:21PM -0700, Dmitry Torokhov wrote: > On Wed, Sep 20, 2023 at 02:57:37PM +0200, Uwe Kleine-König wrote: > > 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. > > Applied the lot (fixing the i8042-sparcio patch subject), thank you! Thanks. In the meantime I found out why my process failed here: I only fixed *.c, but this driver struct is defined in a header file i8042-sparcio.h. This file is only included by drivers/input/serio/i8042.h which in turn is only included by drivers/input/serio/i8042.c. So there is only one instance created, but I'd call that unusual anyhow. Best regards Uwe
Hi Uwe, Sorry for the spotty responses. On Sun, Sep 24, 2023 at 05:50:57PM +0200, Uwe Kleine-König wrote: > Hello Dmitry, > > On Sat, Sep 23, 2023 at 07:48:21PM -0700, Dmitry Torokhov wrote: > > On Wed, Sep 20, 2023 at 02:57:37PM +0200, Uwe Kleine-König wrote: > > > 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. > > > > Applied the lot (fixing the i8042-sparcio patch subject), thank you! > > Thanks. In the meantime I found out why my process failed here: I only > fixed *.c, but this driver struct is defined in a header file > i8042-sparcio.h. > > This file is only included by drivers/input/serio/i8042.h which in turn > is only included by drivers/input/serio/i8042.c. So there is only one > instance created, but I'd call that unusual anyhow. Right, i8042 is essentially a singleton, and what you see here is an attempt to bolt OF onto a legacy driver that is largely predates the current driver model. I wanted to clean it up, but it is still widely used and I am hesitant to disturb it too much. Thanks.
Hello: This patch was applied to chrome-platform/linux.git (for-kernelci) by Dmitry Torokhov <dmitry.torokhov@gmail.com>: On Wed, 20 Sep 2023 14:57:37 +0200 you wrote: > 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. > > [...] Here is the summary with links: - [02/52] input: cros_ec_keyb - Convert to platform remove callback returning void https://git.kernel.org/chrome-platform/c/63ef64cb6453 You are awesome, thank you!
Hello: This patch was applied to chrome-platform/linux.git (for-next) by Dmitry Torokhov <dmitry.torokhov@gmail.com>: On Wed, 20 Sep 2023 14:57:37 +0200 you wrote: > 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. > > [...] Here is the summary with links: - [02/52] input: cros_ec_keyb - Convert to platform remove callback returning void https://git.kernel.org/chrome-platform/c/63ef64cb6453 You are awesome, thank you!