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

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 12:18:31PM +0530, Pramod Gurav wrote: > This change switches to using devm_* managed resources APIs to > request the resources in probe to simplify probe error path and > module unloading and does away with remove function. > > Cc: Dmitry Torokhov > Cc: linux-in...@vger.ke

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

2014-10-07 Thread Pramod Gurav
This change switches to using devm_* managed resources APIs to request the resources in probe to simplify probe error path 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/mpr121_t