commit | 3eebd61322835565bbcb1745bf9bd44e86ff80ca | [log] [tgz] |
---|---|---|
author | Pramod Gurav <pramod.gurav@smartplayin.com> | Wed Oct 01 16:16:33 2014 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Oct 21 10:51:11 2014 +0200 |
tree | 9ece37ba895d02dd78178cd4fee1dc3afa1b8f5f | |
parent | 4515b76d9b158ae89db094fe0fb277eaac88be25 [diff] |
gpio: cs5535: Switch to using managed resources with devm_ 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>