pinctrl: mediatek: fix build error
authorHongzhou Yang <hongzhou.yang@mediatek.com>
Thu, 12 Feb 2015 07:56:11 +0000 (23:56 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Mar 2015 01:02:17 +0000 (02:02 +0100)
commitc445cac30781b99621df3a162bff9efcac411e9e
tree377fc8239726ec57152f0792f3b429fa90357509
parent3221f40b7631183b0c7a2e5d4be00cab12d983c3
pinctrl: mediatek: fix build error

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c