Commit 7320fd32 authored by Tony Lindgren's avatar Tony Lindgren
Browse files

bus: ti-sysc: Don't warn about legacy property for nested ti-sysc devices



In some cases we can have nested ti-sysc instances that may still use the
legacy "ti,hwmods" property. Let's not warn if that's the case.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 590e15c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ static void sysc_check_one_child(struct sysc *ddata,
	const char *name;

	name = of_get_property(np, "ti,hwmods", NULL);
	if (name)
	if (name && !of_device_is_compatible(np, "ti,sysc"))
		dev_warn(ddata->dev, "really a child ti,hwmods property?");

	sysc_check_quirk_stdout(ddata, np);