Input: adp5520-keys - switch to using managed resources
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 22 May 2014 17:40:42 +0000 (10:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 May 2014 06:49:10 +0000 (23:49 -0700)
commitec62c7a8f8ebb81a07ac68a5126ad74dca113b09
treed785e7d4c6c44016462279ed26f77de4763cf369
parent4f8edc3c9c7e78f7c22338470d0f330f11b1ba9a
Input: adp5520-keys - 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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5520-keys.c