pinctrl: sh-pfc: Propagate errors on group config
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 20 Jun 2016 06:40:22 +0000 (08:40 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Jul 2017 08:50:17 +0000 (10:50 +0200)
commitd0593c363f04ccc4bc7b6939c24a0ee65391c779
treeddc89668045c164a012a5e0c68977f3a22adf5a2
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
pinctrl: sh-pfc: Propagate errors on group config

On group configuration, bail out if setting one of the individual pins
fails. We don't need to roll-back, the pinctrl core will do this for us.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pinctrl.c