pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 3 Feb 2019 13:02:34 +0000 (14:02 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Feb 2019 12:13:01 +0000 (13:13 +0100)
commitb6e5531c0f80de2779c87d0235b4fde5310a83b5
treef1d84f3b519f2688bff9ccd33b0358b15fea8433
parent1cb66f080c27349fbf87fb327d587b4b0b624fa3
pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl

In order to support GPIO config changes direct these to the generic pinctrl.
This also requires an adjust of the return code for unsupported parameter
otherwise gpiod_configure_flags wont work as expected.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c