|
@@ -242,9 +242,7 @@ static __init void dm355_leopard_init(void)
|
|
dm355leopard_dm9000_rsrc[2].start = gpio_to_irq(9);
|
|
dm355leopard_dm9000_rsrc[2].start = gpio_to_irq(9);
|
|
|
|
|
|
aemif = clk_get(&dm355leopard_dm9000.dev, "aemif");
|
|
aemif = clk_get(&dm355leopard_dm9000.dev, "aemif");
|
|
- if (IS_ERR(aemif))
|
|
|
|
- WARN("%s: unable to get AEMIF clock\n", __func__);
|
|
|
|
- else
|
|
|
|
|
|
+ if (!WARN(IS_ERR(aemif), "unable to get AEMIF clock\n"))
|
|
clk_prepare_enable(aemif);
|
|
clk_prepare_enable(aemif);
|
|
|
|
|
|
platform_add_devices(davinci_leopard_devices,
|
|
platform_add_devices(davinci_leopard_devices,
|