Input: max8925_onkey - switch to using managed resources
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 29 May 2014 07:21:56 +0000 (00:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 May 2014 07:26:35 +0000 (00:26 -0700)
commit04115e410c85b841f0f97785fe2a58d231e44890
tree65bffaddf9999be501d6f0a23ed4b3520750c16d
parent5ac66de5744b832530645ad82935d7357dba7afc
Input: max8925_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/max8925_onkey.c