[PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver.
Linus Walleij
linus.walleij at linaro.org
Fri Feb 20 02:04:55 PST 2015
On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang
<hongzhou.yang at mediatek.com> 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 at mediatek.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list