diff options
| author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2016-02-03 15:17:02 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-16 00:19:52 +0100 |
| commit | cb32389cb9b36e4a40ecca5c10e5a80af2e97b07 (patch) | |
| tree | 4fecd48c9ab5b63bdc252e54c4102ab2639bfc72 /scripts/gdb/linux/tasks.py | |
| parent | 5cfc05761ba0c7f1aa04f0d441fb68a28453d13b (diff) | |
gpio: 104-idio-16: Use devm_request_region
By the time request_region is called in the ACCES 104-IDIO-16 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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
