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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231211190321.307330-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Andy Shevchenko 2023-12-11 20:57:59 +02:00 committed by Linus Walleij
parent 2a0674f25b
commit 7e976117b1
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}