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 7d7883d commit 8f8fe52Copy full SHA for 8f8fe52
drivers/pinctrl/mediatek/pinctrl-moore.c
@@ -625,9 +625,8 @@ static int mtk_build_functions(struct mtk_pinctrl *hw)
625
const struct function_desc *function = hw->soc->funcs + i;
626
const struct pinfunction *func = &function->func;
627
628
- err = pinmux_generic_add_function(hw->pctrl, func->name,
629
- func->groups, func->ngroups,
630
- function->data);
+ err = pinmux_generic_add_pinfunction(hw->pctrl, func,
+ function->data);
631
if (err < 0) {
632
dev_err(hw->dev, "Failed to register function %s\n",
633
func->name);
0 commit comments