From: Benoit Cousson Date: Fri, 20 Jan 2012 17:14:00 +0000 (+0100) Subject: ARM: OMAP2+: omap_device: Replace dev_warn by dev_dbg in omap_device_build_from_dt X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5dc06b7ea31a41707ab67e3caad5127bd45069b6;p=mv-sheeva.git ARM: OMAP2+: omap_device: Replace dev_warn by dev_dbg in omap_device_build_from_dt 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 Acked-by: Kevin Hilman --- diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index e8d98693d2d..69fde03729c 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c @@ -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; }