[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>
Этот коммит содержится в:

коммит произвёл
Russell King

родитель
6b5ca05d95
Коммит
e3a6d01932
@@ -103,7 +103,7 @@ static struct clk_lookup clocks[] = {
|
||||
INIT_CK(NULL, "hclk", &clk_h),
|
||||
INIT_CK(NULL, "pclk", &clk_p),
|
||||
INIT_CK(NULL, "pll2", &clk_pll2),
|
||||
INIT_CK(NULL, "usb_host", &clk_usb_host),
|
||||
INIT_CK("ep93xx-ohci", NULL, &clk_usb_host),
|
||||
INIT_CK(NULL, "m2p0", &clk_m2p0),
|
||||
INIT_CK(NULL, "m2p1", &clk_m2p1),
|
||||
INIT_CK(NULL, "m2p2", &clk_m2p2),
|
||||
|
Ссылка в новой задаче
Block a user