]> git.baikalelectronics.ru Git - kernel.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)
commit337f51bf6c0182dcc32d9e6e8f34ea3392f4c5f4
tree2f1c423ecfddd3336320eac34ad238a8e8ff9240
parent298f3b1bb8e6d027bfcc4c83906bfc275bc7c430
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