Input: lpc32xx-keys - switch to using managed resources
authorPramod Gurav <pramod.gurav@smartplayin.com>
Wed, 8 Oct 2014 18:26:29 +0000 (11:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Oct 2014 17:50:16 +0000 (10:50 -0700)
commitdae7aa8d849615134a11704cbd37fb45a22bd316
treea518fa8bb4c72427561088d99ca19416d02a5170
parent38c3807252085f97e1359400c8bf1312da3168c6
Input: lpc32xx-keys - switch to using managed resources

This change switches to using devm_* managed resources APIs to
request the resources in probe to simplify probe error path and
module unloading.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/lpc32xx-keys.c