* [PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver.
[not found] <1423727771-24112-1-git-send-email-hongzhou.yang@mediatek.com>
@ 2015-02-20 10:04 ` Linus Walleij
0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2015-02-20 10:04 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang
<hongzhou.yang@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@mediatek.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] only message in thread