gpio: generic: support input-only chips
authorRabin Vincent <rabin@rab.in>
Wed, 22 Jul 2015 13:05:18 +0000 (15:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 13:01:05 +0000 (15:01 +0200)
Allow chips to indicates that they are input-only and thus cannot set
the output value.  This will be used by the gpio-etraxfs driver.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-generic.c
include/linux/basic_mmio_gpio.h

Simple merge
Simple merge