diff options
| author | William Breathitt Gray <[email protected]> | 2016-02-03 20:17:02 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-02-15 23:19:52 +0000 |
| commit | cb32389cb9b36e4a40ecca5c10e5a80af2e97b07 (patch) | |
| tree | 4fecd48c9ab5b63bdc252e54c4102ab2639bfc72 /drivers/gpio/gpio-amd8111.c | |
| parent | gpio: 104-idi-48: Use devm_request_region (diff) | |
| download | kernel-cb32389cb9b36e4a40ecca5c10e5a80af2e97b07.tar.gz kernel-cb32389cb9b36e4a40ecca5c10e5a80af2e97b07.zip | |
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 <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-amd8111.c')
0 files changed, 0 insertions, 0 deletions
