pinctrl: mediatek: adjust error code and message when some register not supported...
authorSean Wang <sean.wang@mediatek.com>
Sat, 8 Sep 2018 11:07:31 +0000 (19:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Sep 2018 21:53:19 +0000 (14:53 -0700)
commit9d9b171c6897265c5af870affd83fe3c51f1df76
treedbd4efae43e426552ec8456ea490ef264eeb9245
parent2bc47dfe4f8b1a9b1fc44811dd0c9a6502d794cd
pinctrl: mediatek: adjust error code and message when some register not supported is found

It's usual and not an error for there's some register not supported by a
certain SoC or a pin so that in the case we have to adjust the message to
print and the error code to get rid of unnecessary false alarm.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c