mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-24 11:25:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ static int keembay_set_mux(struct pinctrl_dev *pctldev, unsigned int fun_sel,
|
|||
return -EINVAL;
|
||||
|
||||
/* Change modes for pins in the selected group */
|
||||
pin = *grp->pins;
|
||||
pin = *grp->grp.pins;
|
||||
pin_mode = *(u8 *)(func->data);
|
||||
|
||||
val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin);
|
||||
|
|
Loading…
Reference in a new issue