mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 05:02:31 +00:00
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:
parent
2a0674f25b
commit
7e976117b1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user