]> git.baikalelectronics.ru Git - kernel.git/commit
Input: arizona-haptic - convert to use managed input devices
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 Jul 2015 17:32:27 +0000 (10:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Jul 2015 00:34:06 +0000 (17:34 -0700)
commit03931b3981c8269bea4dc9a443ffe102add718e4
treefb9460374547b07d8ba314cc0de9e90f3f386342
parent45d3918a2df8953c8bf09e073622ae5feccb3a07
Input: arizona-haptic - convert to use managed input devices

Using managed input device (via devm_input_allocate_device) simplifies
error handling and driver removal paths and also silences CID# 712569.

Reviewed-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/arizona-haptics.c