ARM: OMAP2+: omap_device: Replace dev_warn by dev_dbg in omap_device_build_from_dt
authorBenoit Cousson <b-cousson@ti.com>
Fri, 20 Jan 2012 17:14:00 +0000 (18:14 +0100)
committerBenoit Cousson <b-cousson@ti.com>
Thu, 16 Feb 2012 22:06:28 +0000 (23:06 +0100)
This warning becomes a little bit too verbose with the increase of
device nodes in some DTS files.

Change it to debug only.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c

index e8d98693d2dd1fd0ac11a175510738cae8419c72..69fde03729cdc9b01c977065563cb00d1c8a4b19 100644 (file)
@@ -348,7 +348,7 @@ static int omap_device_build_from_dt(struct platform_device *pdev)
 
        oh_cnt = of_property_count_strings(node, "ti,hwmods");
        if (!oh_cnt || IS_ERR_VALUE(oh_cnt)) {
-               dev_warn(&pdev->dev, "No 'hwmods' to build omap_device\n");
+               dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n");
                return -ENODEV;
        }