]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: omap: define helpers for pdata function pointers
authorFelipe Balbi <balbi@ti.com>
Thu, 23 Aug 2012 10:32:42 +0000 (13:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 20:26:10 +0000 (13:26 -0700)
commite5b57c037a656c694c7f3674f96352297a6ee7d8
tree2f1c423ecfddd3336320eac34ad238a8e8ff9240
parentc990f3510357586be63bbe9faf7972212a0dc78f
serial: omap: define helpers for pdata function pointers

this patch is in preparation to a few other changes
which will align on the prototype for function
pointers passed through pdata.

It also helps cleaning up the driver a little by
agregating checks for pdata in a single location.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c