aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mpc5200.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <[email protected]>2016-02-03 20:17:40 +0000
committerLinus Walleij <[email protected]>2016-02-15 23:19:53 +0000
commit134414578518f095b65185535bc696277b5c57c6 (patch)
treedfdda5368e6be010c823d025d12faa693a197d8d /drivers/gpio/gpio-mpc5200.c
parentgpio: ich: Use devm_request_region (diff)
downloadkernel-134414578518f095b65185535bc696277b5c57c6.tar.gz
kernel-134414578518f095b65185535bc696277b5c57c6.zip
gpio: sch311x: Use devm_request_region
By the time request_region is called in the SMSC SCH311x 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