Re: [PATCH] Input: nomadik-ske-keypad: Switch to using managed resources

2014-10-28 Thread Pramod Gurav
Hi Dmitry, Is this change okey? On Wed, Oct 8, 2014 at 4:20 PM, Pramod Gurav wrote: > This change switches to using devm_* APIs to allocate resources. > This helps to simplify failure path in probe function as well as > remove function. > > Cc: Dmitry Torokhov > Cc: linux-input@vger.kernel.org

[PATCH] Input: nomadik-ske-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 as well as remove function. Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/input/keyboard/nomadik-ske-keypad.c | 63 +---