]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[ARM] 5526/1: ep93xx: usb driver cleanup
authorHartley Sweeten <hartleys@visionengravers.com>
Thu, 28 May 2009 18:56:11 +0000 (19:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 May 2009 19:16:29 +0000 (20:16 +0100)
commite3a6d01932f343c1cc0218909262f0f68b6f7db4
tree961bd15c706d9bd02dad6d33b2495a9b3c52f088
parent6b5ca05d9590adc94620a83c5eafed28435e065f
[ARM] 5526/1: ep93xx: usb driver cleanup

Cleanup the ohci-ep93xx driver.

1) Use the usb.h dbg() macro instead of pr_debug() so that
   the source filename is prefixed to the message and it is
   terminated with a linefeed.

2) Add error handling for the clk_get() call.

3) Update clkdev support so that the usb clock is matched by
   the dev_id instead of the con_id.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/clock.c
drivers/usb/host/ohci-ep93xx.c