gpio: cs5535: Switch to using managed resources with devm_
authorPramod Gurav <pramod.gurav@smartplayin.com>
Wed, 1 Oct 2014 10:46:33 +0000 (16:16 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Oct 2014 08:51:11 +0000 (10:51 +0200)
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: linux-gpio@vger.kernel.org
Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-cs5535.c

Simple merge