]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88362b9dc28279581ef1873b13fc41f1bca7b0fc
treea518fa8bb4c72427561088d99ca19416d02a5170
parent84148d7664b77f3dbc700e64d86fb0cbaccef392
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