]> git.karo-electronics.de Git - linux-beck.git/commit
Input: pxa27x_keypad - switch to using managed resources
authorPramod Gurav <pramod.gurav@smartplayin.com>
Wed, 8 Oct 2014 18:19:43 +0000 (11:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Oct 2014 17:50:10 +0000 (10:50 -0700)
commit38c3807252085f97e1359400c8bf1312da3168c6
treee6dfa61211f149076ef83e21b41c2568b10a72a6
parent254af0a3c7fe1959b0a865660f2f2004e023ddc3
Input: pxa27x_keypad - switch to using managed resources

This change switches ithe driver to use devm_* APIs to allocate resources.
This helps to simplify failure path in probe function and module unloading
and does away with remove function.

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