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)
commite75ed3c47a2082fad87dd6d726ff7275d35e197c
treefb9460374547b07d8ba314cc0de9e90f3f386342
parentce2ae9e3e6a152866a33972c966f8315aab2cb1d
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