Commit 7e976117 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij

pinctrl: equilibrium: Convert to use grp member

Convert drivers to use grp member embedded in struct group_desc,
because other members will be removed to avoid duplication and
desynchronisation of the generic pin group description.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231211190321.307330-7-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2a0674f2
......@@ -331,8 +331,8 @@ static int eqbr_pinmux_set_mux(struct pinctrl_dev *pctldev,
return -EINVAL;
pinmux = grp->data;
for (i = 0; i < grp->num_pins; i++)
eqbr_set_pin_mux(pctl, pinmux[i], grp->pins[i]);
for (i = 0; i < grp->grp.npins; i++)
eqbr_set_pin_mux(pctl, pinmux[i], grp->grp.pins[i]);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment