kernel-ark/arch/mips/txx9/generic
Linus Walleij 8cbe4b5cbc MIPS: TXx9: iocled: Be sure to clamp return value
As we want gpio_chip .get() calls to be able to return negative
error codes and propagate to drivers, we need to go over all
drivers and make sure their return values are clamped to [0,1].
We do this by using the ret = !!(val) design pattern.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: linux-gpio@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11925/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-01-24 02:23:08 +01:00
..
7segled.c MIPS: TXx9: 7segled: add missing put_device call 2014-07-30 13:27:51 +02:00
irq_tx3927.c
irq_tx4927.c
irq_tx4938.c
irq_tx4939.c
Makefile
mem_tx4927.c
pci.c MIPS: TXx9: Add __init_refok annotation to quirk_slc90e66_bridge 2014-07-30 15:57:40 +02:00
setup_tx3927.c
setup_tx4927.c mips: Convert pr_warning to pr_warn 2014-11-24 07:44:51 +01:00
setup_tx4938.c mips: Convert pr_warning to pr_warn 2014-11-24 07:44:51 +01:00
setup_tx4939.c mips: Convert pr_warning to pr_warn 2014-11-24 07:44:51 +01:00
setup.c MIPS: TXx9: iocled: Be sure to clamp return value 2016-01-24 02:23:08 +01:00
smsc_fdc37m81x.c
spi_eeprom.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00