Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dc06b7e authored by Benoit Cousson's avatar Benoit Cousson
Browse files

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: default avatarBenoit Cousson <b-cousson@ti.com>
Acked-by: default avatarKevin Hilman <khilman@ti.com>
parent 0e02a8c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}