[Linux-stm32] [PATCH 00/52] input: Convert to platform remove callback returning void

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Sep 20 12:57:37 UTC 2023


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
-- 
2.40.1




More information about the Linux-stm32 mailing list