summaryrefslogtreecommitdiff
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-04 18:42:19 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 19:14:12 -0800
commit0690f41fddd285c3473e4af2a42d15bce7ff3e68 (patch)
tree2df38f436c0d05bce5183f53468aa523b1ece913 /include/linux/serial_8250.h
parent850624c15da4651f4c6b821723419d8777659577 (diff)
serial: clean up parameter passing for 8250 Rx IRQ handling
The receive_chars() was taking a pointer to a passed in LSR value in status and knocking off bits as it processed them. But since receive_chars isn't returning a value, we can instead pass in a normal non-pointer value for LSR, and simply return the residual (unprocessed) LSR once it is done. The value in this cleanup, is that it clarifies the API of the receive_chars prior to exporting it to other 8250-like drivers for shared usage. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/serial_8250.h')
0 files changed, 0 insertions, 0 deletions