summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ich.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-02-03 23:17:13 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-02-16 02:19:52 +0300
commit35568c40bd26a9036a48299f4fd0192f4fa8e6aa (patch)
treeac9e6f60b22d8759475f7a305975a23e86d64ea5 /drivers/gpio/gpio-ich.c
parentcb32389cb9b36e4a40ecca5c10e5a80af2e97b07 (diff)
downloadlinux-35568c40bd26a9036a48299f4fd0192f4fa8e6aa.tar.xz
gpio: amd8111: Use devm_request_region
By the time request_region is called in the AMD 8111 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
0 files changed, 0 insertions, 0 deletions