diff options
| author | H Hartley Sweeten <[email protected]> | 2013-07-01 15:53:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-07-26 13:54:29 -0700 |
| commit | af3f233fd27b6a59cd6ea46a7dc048fff3ef2740 (patch) | |
| tree | 16a026edba63a96f69b26864abd8e857f70025ca /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 09ae8e7ead08e403413ceb4ba0f47eb324d03995 (diff) | |
usb: ohci-ep93xx: tidy up driver (*probe) and (*remove)
Merge the usb_hcd_ep93xx_probe() into ohci_hcd_ep93xx_drv_probe() and
the usb_hcd_ep93xx_remove() into ohci_hcd_ep93xx_drv_remove(). As Alan
Stern pointed out, there is no reason for them to be separate.
Also, as Alan Stern suggested, eliminate the ep93xx_start_hc() and
ep93xx_stop_hc() routines and simply call clk_enable() and clk_disable()
directly. The extra level of redirection does not add any clarity.
Signed-off-by: H Hartley Sweeten <[email protected]>
Acked-by: Alan Stern <[email protected]>
Cc: Lennert Buytenhek <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions