diff options
| author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2016-02-03 15:17:13 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-16 00:19:52 +0100 |
| commit | 35568c40bd26a9036a48299f4fd0192f4fa8e6aa (patch) | |
| tree | ac9e6f60b22d8759475f7a305975a23e86d64ea5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | gpio: 104-idio-16: Use devm_request_region (diff) | |
| download | linux-35568c40bd26a9036a48299f4fd0192f4fa8e6aa.tar.gz linux-35568c40bd26a9036a48299f4fd0192f4fa8e6aa.zip | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
