tty: serial: omap: switch over to devm_request_gpio
authorFelipe Balbi <balbi@ti.com>
Wed, 23 Apr 2014 14:58:30 +0000 (09:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:16:33 +0000 (16:16 -0700)
commit404dc57c0201298deb76a122894cc91b37f2761f
tree284558f6bcb5d502130a64e0f6f64374b7eecb2d
parent5b6acc79252e65a2bc3181a55d45c8e7b6f7876c
tty: serial: omap: switch over to devm_request_gpio

this will make sure gpio gets freed automatically
when this device is destroyed.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c