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 cc154c0 commit 7d7883dCopy full SHA for 7d7883d
drivers/pinctrl/mediatek/pinctrl-airoha.c
@@ -2907,11 +2907,9 @@ static int airoha_pinctrl_probe(struct platform_device *pdev)
2907
const struct airoha_pinctrl_func *func;
2908
2909
func = &airoha_pinctrl_funcs[i];
2910
- err = pinmux_generic_add_function(pinctrl->ctrl,
2911
- func->desc.func.name,
2912
- func->desc.func.groups,
2913
- func->desc.func.ngroups,
2914
- (void *)func);
+ err = pinmux_generic_add_pinfunction(pinctrl->ctrl,
+ &func->desc.func,
+ (void *)func);
2915
if (err < 0) {
2916
dev_err(dev, "Failed to register function %s\n",
2917
func->desc.func.name);
0 commit comments