diff options
| author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2016-02-03 15:15:22 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-16 00:19:51 +0100 |
| commit | 5cfc05761ba0c7f1aa04f0d441fb68a28453d13b (patch) | |
| tree | 35b6165a1b36908226fb0610b53896175372676e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | gpio: 104-dio-48e: Use devm_request_region (diff) | |
| download | linux-5cfc05761ba0c7f1aa04f0d441fb68a28453d13b.tar.gz linux-5cfc05761ba0c7f1aa04f0d441fb68a28453d13b.zip | |
gpio: 104-idi-48: Use devm_request_region
By the time request_region is called in the ACCES 104-IDI-48 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
