OSDN Git Service

USB: sa1111: reorganize ohci-sa1111.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 10:52:34 +0000 (10:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:13 +0000 (11:30 +0000)
commit132db99ae2c6f6a586fc932507fcf4484d90c8fa
tree352ce15418e9ec8e07a6c12e77c87483c1d4dced
parent3f878dbcd6ca4bbdbac0a1380d25161a7ba610ab
USB: sa1111: reorganize ohci-sa1111.c

Combine usb_hcd_sa1111_probe() and ohci_hcd_sa1111_drv_probe(), doing
the same for the remove methods.

Move sa1111_start_hc and sa1111_stop_hc to be located next to these
the probe/release functions, as they're only called from them.

Get rid of the /*----*/ breaker lines.

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