pinctrl: mt7622: fix error path on failing at groups building
authorSean Wang <sean.wang@mediatek.com>
Fri, 22 Jun 2018 03:49:04 +0000 (11:49 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 14 Jul 2018 10:47:04 +0000 (12:47 +0200)
commitfafa35cce34ba4c4f6fd7f1026c038de0a2884af
tree04107c29cb7510d359e081a9ff3f235412b88b72
parent1e4b044d22517cae7047c99038abb444423243ca
pinctrl: mt7622: fix error path on failing at groups building

It should be to return an error code when failing at groups building.

Cc: stable@vger.kernel.org
Fixes: d6ed93551320 ("pinctrl: mediatek: add pinctrl driver for MT7622 SoC")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt7622.c