diff options
author | Benoit Cousson <b-cousson@ti.com> | 2012-01-20 12:14:00 -0500 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-02-16 17:06:28 -0500 |
commit | 5dc06b7ea31a41707ab67e3caad5127bd45069b6 (patch) | |
tree | 1e528ee16e812744c7273be585f1477f952a28ad /arch/arm/plat-omap/omap_device.c | |
parent | 0e02a8c1a5a5aea8b0fd8c16dd7d1ac2de641275 (diff) |
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 <b-cousson@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/omap_device.c')
-rw-r--r-- | arch/arm/plat-omap/omap_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index e8d98693d2dd..69fde03729cd 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) | |||
348 | 348 | ||
349 | oh_cnt = of_property_count_strings(node, "ti,hwmods"); | 349 | oh_cnt = of_property_count_strings(node, "ti,hwmods"); |
350 | if (!oh_cnt || IS_ERR_VALUE(oh_cnt)) { | 350 | if (!oh_cnt || IS_ERR_VALUE(oh_cnt)) { |
351 | dev_warn(&pdev->dev, "No 'hwmods' to build omap_device\n"); | 351 | dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n"); |
352 | return -ENODEV; | 352 | return -ENODEV; |
353 | } | 353 | } |
354 | 354 | ||