ARM: OMAP2+: omap_device: remove warning that clk alias already exists
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 4 Aug 2014 12:54:04 +0000 (14:54 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Aug 2014 23:06:39 +0000 (16:06 -0700)
commit41b0995d2ec59415a675a2d51e7e4009c14d4da5
tree261e3d44a4080a152a1be7c0fc94a0962924e80c
parent06cefdfe3d426f52a0135016330a171ba69a41b8
ARM: OMAP2+: omap_device: remove warning that clk alias already exists

When an alias for a clock already exists the warning is printed. For
every module with a main_clk defined, a clk alias for fck is added.
There are some components that have the same main_clk defined, so this
is a really normal situation.

For example the am33xx edma device has 4 components using the same main
clock. So there are three warnings in the boot log for this already
existing clock alias:
platform 49000000.edma: alias fck already exists
platform 49000000.edma: alias fck already exists
platform 49000000.edma: alias fck already exists

As this is only interesting for developers, this patch changes the
message to a debug message.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_device.c