Re: [PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
On 9 November 2012 22:15, Dmitry Torokhov wrote: > If input device was alocated with devm_* interface it does not need be > explicitly unregistered/freed. Thanks for pointing out: Fixup: commit 4bf57c85f49f16a139af80f8de76fa01eee77a5d Author: Viresh Kumar Date: Fri Nov 9 22:31:34 2012 +0530

Re: [PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Dmitry Torokhov
Hi Viresh, On Fri, Nov 09, 2012 at 08:57:48PM +0530, Viresh Kumar wrote: > This patch frees stmpe-keyboard driver from tension of freeing resources :) > devm_* derivatives of multiple routines are used while allocating resources, > which would be freed automatically by kernel. > > Signed-off-by:

[PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
This patch frees stmpe-keyboard driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar --- drivers/input/keyboard/stmpe-keypad.c | 31

[PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
This patch frees stmpe-keyboard driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/input/keyboard/stmpe-keypad.c |

Re: [PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Dmitry Torokhov
Hi Viresh, On Fri, Nov 09, 2012 at 08:57:48PM +0530, Viresh Kumar wrote: This patch frees stmpe-keyboard driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by:

Re: [PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
On 9 November 2012 22:15, Dmitry Torokhov dmitry.torok...@gmail.com wrote: If input device was alocated with devm_* interface it does not need be explicitly unregistered/freed. Thanks for pointing out: Fixup: commit 4bf57c85f49f16a139af80f8de76fa01eee77a5d Author: Viresh Kumar