Files
linux/include/linux
Paul Gortmaker 927353a756 serial: introduce generic port in/out helpers
Looking at the existing serial drivers (esp. the 8250 derived
variants) we see a common trend.  They create a hardware specific
port struct, which in turn contains a generic serial_port struct.

The other trend, is that they all create some sort of shortcut
to go through the hardware specific struct, to the serial_port
struct, which has the basic in/out operations within.  Looking
for the serial_in and serial_out in several drivers shows this.

Rather than let this continue, lets create a generic set of
similar helper wrappers that can be used on a struct port, so
we can eliminate bouncing out through hardware specific struct
pointers just to come back into struct port where possible.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-09 12:47:56 -08:00
..
2012-01-22 15:08:43 -05:00
2012-01-10 16:30:42 -08:00
2012-01-12 20:13:04 -08:00
2012-01-12 20:13:08 -08:00
2012-01-09 13:52:09 +01:00
2012-03-08 10:50:35 -08:00
2012-03-08 10:50:35 -08:00
2012-01-12 20:13:11 -08:00
2012-01-17 15:40:51 -08:00
2012-01-12 20:13:10 -08:00
2012-01-12 15:23:04 -08:00
2012-02-02 12:55:17 -08:00
2012-03-08 11:38:50 -08:00
2012-01-09 09:33:57 +09:00
2012-02-02 14:55:45 -08:00
2012-01-24 12:25:14 -08:00
2012-03-08 10:50:35 -08:00