]> 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)
commit2ec6ecf2574fd805e1e5096510fda8228433ae6f
tree284558f6bcb5d502130a64e0f6f64374b7eecb2d
parente8efda7470a46968fd3c3fbe6096c260b4e60f1c
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