Re: [PATCH] gpio: Switch to using managed resources with devm_

2014-10-21 Thread Pramod Gurav
On Tue, Oct 21, 2014 at 2:22 PM, Linus Walleij wrote: > On Wed, Oct 1, 2014 at 12:46 PM, Pramod Gurav > wrote: > >> This change switches to devm_request_region to request region >> and hence simplifies the module unload and does away with >> release_region in remove function. >> >> Cc: Linus Wall

Re: [PATCH] gpio: Switch to using managed resources with devm_

2014-10-21 Thread Linus Walleij
On Wed, Oct 1, 2014 at 12:46 PM, Pramod Gurav wrote: > This change switches to devm_request_region to request region > and hence simplifies the module unload and does away with > release_region in remove function. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: linux-g...@vger.kernel.org >

Re: [PATCH] gpio: Switch to using managed resources with devm_

2014-10-05 Thread Alexandre Courbot
On Wed, Oct 1, 2014 at 7:46 PM, Pramod Gurav wrote: > This change switches to devm_request_region to request region > and hence simplifies the module unload and does away with > release_region in remove function. Your subject line should probably start with "gpio: cs5535:" Otherwise, Reviewed-b

[PATCH] gpio: Switch to using managed resources with devm_

2014-10-01 Thread Pramod Gurav
This change switches to devm_request_region to request region and hence simplifies the module unload and does away with release_region in remove function. Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/gpio/gpio-cs5535.c | 11 ++