Re: [PATCH v5 1/7] pinctrl: introduce pinctrl_gpio_get_config()

From: Andy Shevchenko

Date: Mon Mar 23 2026 - 05:32:34 EST


On Sat, Mar 21, 2026 at 01:13:22PM +0300, Dan Carpenter wrote:

> This is a counterpart of pinctrl_gpio_set_config(), which will be used
> to implement the ->get() interface in a GPIO driver for SCMI.

...

> + ret = pin_config_get_for_pin(pctldev, pin, config);

Seems you need also add a stub for this for !CONFIG_GENERIC_PINCONF.

--
With Best Regards,
Andy Shevchenko