diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2016-02-03 23:17:27 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-16 02:19:53 +0300 |
commit | 8a06b08ec30723fe0064d3e7bbd1231977d9ea73 (patch) | |
tree | db55d9ec58d29933047bf0babf3e7f436954c898 /include/linux/lguest.h | |
parent | 35568c40bd26a9036a48299f4fd0192f4fa8e6aa (diff) | |
download | linux-8a06b08ec30723fe0064d3e7bbd1231977d9ea73.tar.xz |
gpio: ich: Use devm_request_region
By the time request_region is called in the Intel ICH series 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.
Cc: Peter Tyser <ptyser@xes-inc.com>
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 'include/linux/lguest.h')
0 files changed, 0 insertions, 0 deletions