diff options
| author | William Breathitt Gray <[email protected]> | 2016-02-03 20:17:50 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-02-15 23:19:54 +0000 |
| commit | 148ad68b3d0dd0f0068ff5f6f47bc360011c429e (patch) | |
| tree | 7aa4f996989beacd5d4daa00c09baef954580ff3 /drivers/gpio/gpio-mpc5200.c | |
| parent | gpio: sch311x: Use devm_request_region (diff) | |
| download | kernel-148ad68b3d0dd0f0068ff5f6f47bc360011c429e.tar.gz kernel-148ad68b3d0dd0f0068ff5f6f47bc360011c429e.zip | |
gpio: ws16c48: Use devm_request_region
By the time request_region is called in the WinSystems WS16C48 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-mpc5200.c')
0 files changed, 0 insertions, 0 deletions
