Skip to content

Commit

Permalink
ARM: OMAP2+: omap_device: Replace dev_warn by dev_dbg in omap_device_…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Benoit Cousson committed Feb 16, 2012
1 parent 0e02a8c commit 5dc06b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/omap_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5dc06b7

Please sign in to comment.