Thread (1 message) 1 message, 1 author, 2015-02-20

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

From: Linus Walleij <hidden>
Date: 2015-02-20 10:04:59
Also in: linux-devicetree, linux-gpio, linux-sh, lkml

On Thu, Feb 12, 2015 at 8:56 AM, Hongzhou Yang
[off-list ref] 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 <redacted>
Patch applied.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help