diff options
| author | William Breathitt Gray <[email protected]> | 2016-02-03 20:17:27 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-02-15 23:19:53 +0000 |
| commit | 8a06b08ec30723fe0064d3e7bbd1231977d9ea73 (patch) | |
| tree | db55d9ec58d29933047bf0babf3e7f436954c898 /drivers/gpio/gpio-mpc5200.c | |
| parent | gpio: amd8111: Use devm_request_region (diff) | |
| download | kernel-8a06b08ec30723fe0064d3e7bbd1231977d9ea73.tar.gz kernel-8a06b08ec30723fe0064d3e7bbd1231977d9ea73.zip | |
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 <[email protected]>
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-mpc5200.c')
0 files changed, 0 insertions, 0 deletions
