pinctrl: keembay: 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-10-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
10ce59c6bb
commit
ffc1945e19
@ -945,7 +945,7 @@ static int keembay_set_mux(struct pinctrl_dev *pctldev, unsigned int fun_sel,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
/* Change modes for pins in the selected group */
|
/* Change modes for pins in the selected group */
|
||||||
pin = *grp->pins;
|
pin = *grp->grp.pins;
|
||||||
pin_mode = *(u8 *)(func->data);
|
pin_mode = *(u8 *)(func->data);
|
||||||
|
|
||||||
val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin);
|
val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin);
|
||||||
|
Loading…
Reference in New Issue
Block a user