From: Paul Gortmaker Date: Sun, 4 Dec 2011 23:42:19 +0000 (-0500) Subject: serial: clean up parameter passing for 8250 Rx IRQ handling X-Git-Tag: v3.3-rc1~154^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0690f41fddd285c3473e4af2a42d15bce7ff3e68;p=pandora-kernel.git 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 Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed