From: Paul Gortmaker Date: Fri, 9 Mar 2012 00:12:14 +0000 (-0500) Subject: serial: remove back and forth conversions in serial_out_sync X-Git-Tag: v3.4-rc1~185^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55e4016dd055e262e4b078b81c80b55386ead0f4;p=pandora-kernel.git serial: remove back and forth conversions in serial_out_sync The two callers to serial_out_sync() have a struct port right there in scope, but then pass in a struct 8250_port which then is locally resolved back to a struct port. Delete the needless back and forth and just pass in the struct port directly. Rename the function to have "_port" in its name, so the name <--> args relationship is consistent with the other serial_in/out vs serial_port_in/out function classes. Signed-off-by: Paul Gortmaker Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed