We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb9e21 commit 0bbd90cCopy full SHA for 0bbd90c
drivers/pinctrl/pinctrl-ingenic.c
@@ -4574,9 +4574,8 @@ static int __init ingenic_pinctrl_probe(struct platform_device *pdev)
4574
const struct function_desc *function = &chip_info->functions[i];
4575
const struct pinfunction *func = &function->func;
4576
4577
- err = pinmux_generic_add_function(jzpc->pctl, func->name,
4578
- func->groups, func->ngroups,
4579
- function->data);
+ err = pinmux_generic_add_pinfunction(jzpc->pctl, func,
+ function->data);
4580
if (err < 0) {
4581
dev_err(dev, "Failed to register function %s\n", func->name);
4582
return err;
0 commit comments