Re: [PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver.

From: Linus Walleij
Date: Fri Feb 20 2015 - 05:05:05 EST


On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang
<hongzhou.yang@xxxxxxxxxxxx> wrote:

> Since pinconf relate API changes in pinctrl devel branch, a build error happened.
> Send this small patch to fix it.
>
> ---
> Due to pinconf_generic_parse_dt_config() API changes in pinctrl devel branch,
> add one parameter to fix build error.
>
> Also fix warning:
> drivers/pinctrl/mediatek/pinctrl-mtk-common.c:718:3: warning: too many arguments for format [-Wformat-extra-args]
> dev_err(&pdev->dev, "only support pins-are-numbered format\n", ret);
> ^
>
> by removing extra parameter when calling dev_err in mtk_pctrl_init.
>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/