Skip to content

Commit f5141ae

Browse files
tq-steinaLinus Walleij
authored andcommitted
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: Alexander 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: Linus Walleij <linus.walleij@linaro.org>
1 parent d514026 commit f5141ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/freescale/pinctrl-imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ static int imx_pinctrl_parse_functions(struct device_node *np,
661661
func->name = np->name;
662662
func->num_group_names = of_get_child_count(np);
663663
if (func->num_group_names == 0) {
664-
dev_err(ipctl->dev, "no groups defined in %pOF\n", np);
664+
dev_info(ipctl->dev, "no groups defined in %pOF\n", np);
665665
return -EINVAL;
666666
}
667667

0 commit comments

Comments
 (0)