aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorHartley Sweeten <hartleys@visionengravers.com>2009-05-28 14:56:11 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-05-29 15:16:29 -0400
commite3a6d01932f343c1cc0218909262f0f68b6f7db4 (patch)
tree961bd15c706d9bd02dad6d33b2495a9b3c52f088 /arch/arm/mach-ep93xx
parent6b5ca05d9590adc94620a83c5eafed28435e065f (diff)
[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>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c
index e8ebeaea6c48..29f36b458a0f 100644
--- a/arch/arm/mach-ep93xx/clock.c
+++ b/arch/arm/mach-ep93xx/clock.c
@@ -103,7 +103,7 @@ static struct clk_lookup clocks[] = {
103 INIT_CK(NULL, "hclk", &clk_h), 103 INIT_CK(NULL, "hclk", &clk_h),
104 INIT_CK(NULL, "pclk", &clk_p), 104 INIT_CK(NULL, "pclk", &clk_p),
105 INIT_CK(NULL, "pll2", &clk_pll2), 105 INIT_CK(NULL, "pll2", &clk_pll2),
106 INIT_CK(NULL, "usb_host", &clk_usb_host), 106 INIT_CK("ep93xx-ohci", NULL, &clk_usb_host),
107 INIT_CK(NULL, "m2p0", &clk_m2p0), 107 INIT_CK(NULL, "m2p0", &clk_m2p0),
108 INIT_CK(NULL, "m2p1", &clk_m2p1), 108 INIT_CK(NULL, "m2p1", &clk_m2p1),
109 INIT_CK(NULL, "m2p2", &clk_m2p2), 109 INIT_CK(NULL, "m2p2", &clk_m2p2),