]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: pinconf-generic: Validate fwnode instead of device node
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 17 Mar 2026 10:36:12 +0000 (11:36 +0100)
committerLinus Walleij <linusw@kernel.org>
Thu, 19 Mar 2026 18:21:27 +0000 (19:21 +0100)
commit1fc7de3047e169e7ae32afadf87a134cd1c68319
tree881c223c161260387162ec5d97990f0c00f8cc0a
parentc98324ea7849b6e5baa1774f71709b375a2c2f9e
pinctrl: pinconf-generic: Validate fwnode instead of device node

Currently we convert device node to fwnode in the
pinconf_generic_parse_dt_config() and then validate the device node.
This is confusing order. Instead, assign fwnode and validate it.

Fixes: e002d162654b ("pinctrl: pinconf-generic: Use only fwnode API in parse_dt_cfg()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinconf-generic.c