aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/pcf50633-input.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-10-08 11:00:10 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-15 11:43:25 -0700
commit2c19d0159944f3aef1c0ebbd9d7fc6c2523e4307 (patch)
treed8242dda294e81cb229b664a0afeb3702e171a87 /drivers/input/misc/pcf50633-input.c
parentInput: matrix_keypad - remove duplicated include (diff)
downloadlinux-2c19d0159944f3aef1c0ebbd9d7fc6c2523e4307.tar.gz
linux-2c19d0159944f3aef1c0ebbd9d7fc6c2523e4307.zip
Input: switch back to struct platform_driver::remove()
After commit 0edb555a65d1 ("platform: Make platform_driver::remove() return void") .remove() is (again) the right callback to implement for platform drivers. Convert all platform drivers below drivers/input/ to use .remove(), with the eventual goal to drop struct platform_driver::remove_new(). As .remove() and .remove_new() have the same prototypes, conversion is done by just changing the structure member name in the driver initializer. While touching these files, make indention of the struct initializer consistent in a few drivers. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20241008090009.462836-2-u.kleine-koenig@baylibre.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/pcf50633-input.c')
-rw-r--r--drivers/input/misc/pcf50633-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/pcf50633-input.c b/drivers/input/misc/pcf50633-input.c
index c5c5fe236c18..6d046e236ba6 100644
--- a/drivers/input/misc/pcf50633-input.c
+++ b/drivers/input/misc/pcf50633-input.c
@@ -103,7 +103,7 @@ static struct platform_driver pcf50633_input_driver = {
.name = "pcf50633-input",
},
.probe = pcf50633_input_probe,
- .remove_new = pcf50633_input_remove,
+ .remove = pcf50633_input_remove,
};
module_platform_driver(pcf50633_input_driver);