Input: arc_ps2 - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Oct 2012 06:53:01 +0000 (23:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Oct 2012 07:11:07 +0000 (00:11 -0700)
commita4d6983c7a164c39bc0289124a2cd9f765d333d0
tree1ce6911712a3cd161670f5b0757557a453f80ca9
parente4b290094603423623d3f268e054f40f3f51afa8
Input: arc_ps2 - switch to using managed resources

Using managed resources simplifies error handling and shrinks
size of arc_ps2_remove().

Tested-by: Mischa Jonker <mischa.jonker@synopsys.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/arc_ps2.c