summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2013-07-02 00:53:02 +0200
committerGreg Kroah-Hartman2013-07-26 22:54:29 +0200
commitaf3f233fd27b6a59cd6ea46a7dc048fff3ef2740 (patch)
tree16a026edba63a96f69b26864abd8e857f70025ca /drivers/usb/host/ohci-hcd.c
parentusb: ohci-ep93xx: use devm_clk_get() (diff)
downloadkernel-qcow2-linux-af3f233fd27b6a59cd6ea46a7dc048fff3ef2740.tar.gz
kernel-qcow2-linux-af3f233fd27b6a59cd6ea46a7dc048fff3ef2740.tar.xz
kernel-qcow2-linux-af3f233fd27b6a59cd6ea46a7dc048fff3ef2740.zip
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 <hsweeten@visionengravers.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: Lennert Buytenhek <kernel@wantstofly.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
0 files changed, 0 insertions, 0 deletions