Input: tca8418-keypad - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Nov 2012 19:13:11 +0000 (11:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Nov 2012 17:30:49 +0000 (09:30 -0800)
commit16ff7cb1848a8898ff19f77b4a9632a73ff98457
tree0d13e26449e299cfae3b03a1a4bbaea3b88dcae3
parent91c5d67f17784078169bdcce4c21df82ac6c234c
Input: tca8418-keypad - switch to using managed resources

Let's switch to using devm_*() interfaces to manage our resources,
thus will simplify error unwinding a bit.

Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca8418_keypad.c