linux/drivers/input/keyboard
Dmitry Torokhov 2d7877d797 Input: omap-keypad - use driver core to instantiate device attributes
Instead of manually creating driver-specific device attributes
set struct driver->dev_groups pointer to have the driver core
do it.

This also fixes issue with the attribute not being deleted on driver
unbind.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/Zo9nofWJ1xg9MgKs@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-07-12 17:15:29 -07:00
..
adc-keys.c Input: adc-keys - drop bogus __refdata annotation 2021-09-03 23:49:58 -07:00
adp5520-keys.c Input: adp5520-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
adp5588-keys.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
adp5589-keys.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
amikbd.c vt: remove superfluous CONFIG_HW_CONSOLE 2024-01-27 19:03:51 -08:00
applespi_trace.h
applespi.c Input: applespi - use pm_sleep_ptr() and SYSTEM_SLEEP_PM_OPS() 2023-01-27 14:49:53 -08:00
applespi.h
atakbd.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
atkbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
bcm-keypad.c Input: bcm-keypad - remove redundant of_match_ptr() 2024-01-20 00:54:22 -08:00
cap11xx.c Input: cap11xx - stop using chip ID when configuring it 2024-06-07 12:32:31 -07:00
clps711x-keypad.c Input: clps711x-keypad - get rid of OF_GPIO dependency 2022-08-30 14:20:00 -07:00
cros_ec_keyb.c Input: cros_ec_keyb - remove an unused field in struct cros_ec_keyb 2024-05-06 15:41:44 -07:00
cypress-sf.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
dlink-dir685-touchkeys.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
ep93xx_keypad.c Input: ep93xx_keypad - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
goldfish_events.c Input: goldfish_events - replace zero-length array with flexible-array member 2020-02-13 17:09:47 -08:00
gpio_keys_polled.c Input: gpio_keys_polled - suppress deferred probe error for gpio 2024-03-05 09:16:37 -08:00
gpio_keys.c Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages 2023-12-28 23:44:55 -08:00
hil_kbd.c Input: hil_kbd - fix error return code in hil_dev_connect() 2021-05-24 20:57:04 -07:00
hilkbd.c parisc: Make struct parisc_driver::remove() return void 2021-08-30 10:18:25 +02:00
hpps2atkbd.h
imx_keypad.c Input: imx_keypad - add missing linux/input.h include 2022-09-26 08:15:10 -07:00
imx_sc_key.c Input: imx_sc_key - use devm_add_action_or_reset() to handle all cleanups 2020-05-13 10:34:58 -07:00
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2023-12-03 19:04:34 +00:00
iqs62x-keys.c Input: iqs62x-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
jornada680_kbd.c
jornada720_kbd.c
Kconfig Input updates for 6.3 merge window: 2023-02-25 15:01:32 -08:00
lkkbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
lm8323.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
lm8333.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
locomokbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
lpc32xx-keys.c Input: lpc32xx-keys - remove an unused field in struct lpc32xx_kscan_drv 2024-05-06 15:41:37 -07:00
Makefile input: remove pxa930_rotary keyboard driver 2023-02-01 17:23:38 +01:00
maple_keyb.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
matrix_keypad.c Input: matrix_keypad - remove an unused field in struct matrix_keypad 2024-05-06 15:41:33 -07:00
max7359_keypad.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mcs_touchkey.c Input: mcs-touchkey - fix uninitialized use of error in mcs_touchkey_probe() 2023-07-25 09:51:13 -07:00
mpr121_touchkey.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mt6779-keypad.c Input: mt6779-keypad - add missing linux/input.h include 2022-09-26 08:15:03 -07:00
mtk-pmic-keys.c Input: mtk-pmic-keys: add MT6357 support 2023-01-19 18:25:44 +01:00
newtonkbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
nomadik-ske-keypad.c Input: nomadik-ske-keypad - convert to use devm_* api 2023-07-10 17:44:29 -07:00
nspire-keypad.c Input: nspire-keypad - use devm_platform_get_and_ioremap_resource() 2023-07-10 17:44:26 -07:00
omap4-keypad.c Input: omap4-keypad - react on keypresses if device is runtime-suspended 2023-12-11 18:47:17 -08:00
omap-keypad.c Input: omap-keypad - use driver core to instantiate device attributes 2024-07-12 17:15:29 -07:00
opencores-kbd.c Input: opencores-kbd - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:27 -07:00
pinephone-keyboard.c Input: pinephone-keyboard - use devm_regulator_get_enable() 2023-07-07 17:03:26 -07:00
pmic8xxx-keypad.c Input: pmic8xxx-keypad - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-12-07 13:27:55 -08:00
pxa27x_keypad.c Input: pxa27x_keypad - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:28 -07:00
qt1050.c Input: qt1050 - constify struct regmap_config 2024-07-08 10:01:18 -07:00
qt1070.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
qt2160.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
samsung-keypad.c Input: samsung-keypad - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
sh_keysc.c Input: sh_keysc - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
snvs_pwrkey.c Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address 2022-09-27 07:18:30 -07:00
spear-keyboard.c Input: spear-keyboard - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
st-keyscan.c Input: st-keyscan - drop of_match_ptr for ID table 2023-03-17 04:17:32 -07:00
stmpe-keypad.c Input: stmpe - drop driver owner assignment 2024-03-28 10:54:19 -07:00
stowaway.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
sun4i-lradc-keys.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
sunkbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
tc3589x-keypad.c Input: tc3589x - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-12-07 13:28:10 -08:00
tca6416-keypad.c Input: tca6416-keypad - remove unused struct tca6416_drv_data 2024-05-06 15:41:28 -07:00
tca8418_keypad.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tegra-kbc.c Input: tegra-kbc - use device_get_match_data() 2023-10-13 20:18:43 -07:00
tm2-touchkey.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
twl4030_keypad.c Input: twl4030_keypad - fix handling of platform_get_irq() error 2020-09-16 10:42:15 -07:00
xtkbd.c Input: keyboard - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00