Skip to content

Commit de82e6f

Browse files
committed
pinctrl: merrifield: Convert to use new memeber in struct intel_function
Convert driver to use generic data type and hence a new member in the struct intel_function. No functional change intended. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]>
1 parent b19d82e commit de82e6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pinctrl/intel/pinctrl-merrifield.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ static const char *mrfld_get_function_name(struct pinctrl_dev *pctldev,
576576
{
577577
struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev);
578578

579-
return mp->functions[function].name;
579+
return mp->functions[function].func.name;
580580
}
581581

582582
static int mrfld_get_function_groups(struct pinctrl_dev *pctldev,
@@ -586,8 +586,8 @@ static int mrfld_get_function_groups(struct pinctrl_dev *pctldev,
586586
{
587587
struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev);
588588

589-
*groups = mp->functions[function].groups;
590-
*ngroups = mp->functions[function].ngroups;
589+
*groups = mp->functions[function].func.groups;
590+
*ngroups = mp->functions[function].func.ngroups;
591591
return 0;
592592
}
593593

0 commit comments

Comments
 (0)