]> git.baikalelectronics.ru Git - kernel.git/commit
Input: implement managed polled input devices
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Apr 2014 17:49:51 +0000 (10:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:40:04 +0000 (16:40 -0700)
commita772197aeb601b0af36f489a55123ee065c9c82d
tree41f79fa2df689dd2a15f680078fa4f82e7f759c5
parent608f2e420f3175b4448a4f829f67d2d2180bb3c8
Input: implement managed polled input devices

Managed resources are becoming more and more popular in drivers. Let's
implement managed polled input devices, to complement managed regular input
devices.

Similarly to managed regular input devices only one new call
devm_input_allocate_polled_device() is added and the rest of APIs is
modified to work with both managed and non-managed devices.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Tested-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-polldev.c
include/linux/input-polldev.h