]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88f7a5fc15e695e450966f27b8a23e6ff4cd23fa
tree284558f6bcb5d502130a64e0f6f64374b7eecb2d
parent98f12f25f4589fd681a2630395bf55e4f2585729
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