Input: 88pm860x_onkey - switch to using managed resources
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 29 May 2014 07:17:59 +0000 (00:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 May 2014 07:26:34 +0000 (00:26 -0700)
commitcde51e73cbfa00a85b17bb5dfc0a465d9233660e
treeca84b4e77608ea4563fe16e1cda757babb1a142f
parent157d45fbdde4919c2b0421bb41d52fc8da155e28
Input: 88pm860x_onkey - switch to using managed resources

Let's switch the driver to use managed resources, this will simplify
error handling and driver unbinding logic.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/88pm860x_onkey.c