Commit f5141ae4 authored by Alexander Stein's avatar Alexander Stein Committed by Linus Walleij
Browse files

pinctrl: imx: Reduce printk message level for empty nodes



iomuxc_snvs from imx6ull supports 2 boot mode and 10 tamper pins.
Probably most users won't use them, causing this error message during boot:
  no groups defined in /soc/bus@2200000/iomuxc-snvs@2290000
This is actually not an error in this case, so reduce the level
accordingly.

Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220224094243.1376965-1-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d5140268
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -661,7 +661,7 @@ static int imx_pinctrl_parse_functions(struct device_node *np,
	func->name = np->name;
	func->num_group_names = of_get_child_count(np);
	if (func->num_group_names == 0) {
		dev_err(ipctl->dev, "no groups defined in %pOF\n", np);
		dev_info(ipctl->dev, "no groups defined in %pOF\n", np);
		return -EINVAL;
	}