Re: [PATCH] Input: pxa27x_keypad: Switch to using managed resources

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 04:20:11PM +0530, Pramod Gurav wrote: > This change switches to using devm_* APIs to allocate resources. > This helps to simplify failure path in probe function and module > unloading and does away with remove function. > > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kerne

[PATCH] Input: pxa27x_keypad: Switch to using managed resources

2014-10-08 Thread Pramod Gurav
This change switches to using devm_* APIs to allocate resources. This helps to simplify failure path in probe function and module unloading and does away with remove function. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/input/keyboard/pxa27x_keyp