USB: sa1111: sparse and checkpatch cleanups
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 10:37:46 +0000 (10:37 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:13 +0000 (11:30 +0000)
commit9cb0f819eb88f573703e9a73d9883febcfcfa1c3
treee5d95134614cca94e951e8156dc0dc9901467f23
parent876c1f27852ff1e45e1164da15847d3b25600160
USB: sa1111: sparse and checkpatch cleanups

Clean up the ohci-sa1111 driver formatting to be more compliant with
current standards, and add 'static' to various function definitions
to avoid sparse complaints about undeclared functions.  Remove the
unnecessary local declaration of 'usb_disabled', which can be found
instead in linux/usb.h.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/host/ohci-sa1111.c