linux_dsm_epyc7002/drivers/input
Dmitry Torokhov 2be975c6d9 Input: introduce managed input devices (add devres support)
There is a demand from driver's writers to use managed devices framework
for their drivers. Unfortunately up to this moment input devices did not
provide support for managed devices and that lead to mixing two styles
of resource management which usually introduced more bugs, such as
manually unregistering input device but relying in devres to free
interrupt handler which (unless device is properly shut off) can cause
ISR to reference already freed memory.

This change introduces devm_input_allocate_device() that will allocate
managed instance of input device so that driver writers who prefer
using devm_* framework do not have to mix 2 styles.

Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2012-11-08 09:10:05 -08:00
..
gameport Input: use module_pci_driver 2012-04-21 23:48:58 -07:00
joystick Input: as5011 - use C99-style structure initializators 2012-10-11 00:48:54 -07:00
keyboard Linux 3.7-rc4 2012-11-08 08:51:52 -08:00
misc Linux 3.7-rc4 2012-11-08 08:51:52 -08:00
mouse Linux 3.7-rc4 2012-11-08 08:51:52 -08:00
serio Linux 3.7-rc3 2012-10-30 00:20:56 -07:00
tablet Input: wacom - correct bad Cintiq 24HD check 2012-10-30 00:10:29 -07:00
touchscreen Linux 3.7-rc4 2012-11-08 08:51:52 -08:00
apm-power.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
evbug.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evdev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
ff-core.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
ff-memless.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
input-compat.c compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-compat.h compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-mt.c Input: fix sparse warning in multitouch code 2012-10-25 00:11:52 -07:00
input-polldev.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
input.c Input: introduce managed input devices (add devres support) 2012-11-08 09:10:05 -08:00
joydev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
Kconfig Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
Makefile Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
matrix-keymap.c Input: matrix-keymap - fix building keymaps 2012-05-24 01:12:20 -07:00
mousedev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
sparse-keymap.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00