Skip to content

Commit ffc1945

Browse files
andy-shevlinusw
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 10ce59c commit ffc1945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinctrl-keembay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ static int keembay_set_mux(struct pinctrl_dev *pctldev, unsigned int fun_sel,
945945
return -EINVAL;
946946

947947
/* Change modes for pins in the selected group */
948-
pin = *grp->pins;
948+
pin = *grp->grp.pins;
949949
pin_mode = *(u8 *)(func->data);
950950

951951
val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin);

0 commit comments

Comments
 (0)