summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-quiet-overlay.patch
blob: 383cc219aa3c2c9bba12e268ae11e8eb8a1e1391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Remove warning on every gpio pin allocated from
device tree.
================================================
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index 1688f576ee8a..eae7c9d72c1a 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -362,7 +362,7 @@ static int add_changeset_property(struct overlay_changeset *ovcs,
	}

	if (!of_node_check_flag(target->np, OF_OVERLAY))
-		pr_err("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
+		pr_debug("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
 		       target->np, new_prop->name);
 
 	if (ret) {