From: H Hartley Sweeten Date: Mon, 1 Jul 2013 22:53:02 +0000 (-0700) Subject: usb: ohci-ep93xx: tidy up driver (*probe) and (*remove) X-Git-Tag: v3.12-rc1~186^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af3f233fd27b6a59cd6ea46a7dc048fff3ef2740;p=pandora-kernel.git 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 Acked-by: Alan Stern Cc: Lennert Buytenhek Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed