linux/drivers/input
Cai Huoqing b083704fbf Input: elants_i2c - make use of devm_add_action_or_reset()
The helper function devm_add_action_or_reset() will internally
call devm_add_action(), and if devm_add_action() fails then it will
execute the action mentioned and return the error code. So
use devm_add_action_or_reset() instead of devm_add_action()
to simplify the error handling, reduce the code.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210922125212.95-2-caihuoqing@baidu.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2021-09-22 21:56:47 -07:00
..
gameport
joystick Input: tmdc - fix spelling mistake "Millenium" -> "Millennium" 2021-09-20 21:59:50 -07:00
keyboard Input: omap-keypad - prefer struct_size over open coded arithmetic 2021-09-20 21:59:48 -07:00
misc Input: palmas-pwrbutton - handle return value of platform_get_irq() 2021-09-05 19:48:07 -07:00
mouse Linux 5.13 2021-07-18 18:56:58 -07:00
rmi4
serio Revert "Input: serio - make write method mandatory" 2021-07-20 21:48:35 -07:00
tablet Input: aiptek - convert sysfs sprintf/snprintf family to sysfs_emit 2021-02-22 21:22:50 -08:00
touchscreen Input: elants_i2c - make use of devm_add_action_or_reset() 2021-09-22 21:56:47 -07:00
apm-power.c
evbug.c Input: evbug - remove an empty comment block 2021-05-24 21:06:39 -07:00
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-04 23:02:10 -07:00
Kconfig
Makefile Input: touchscreen - move helper functions to core 2021-03-25 11:14:09 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - broaden use-cases described in comments 2021-03-25 11:14:09 -07:00