OpenCloudOS-Kernel/arch/mips/alchemy/common
Linus Walleij 7b42c00a95 MIPS: Alchemy: 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/11921/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-01-24 02:20:45 +01:00
..
Makefile MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00
clock.c MIPS: alchemy: Convert to clk_hw based provider APIs 2015-08-24 16:48:46 -07:00
dbdma.c MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00
dma.c MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00
gpiolib.c MIPS: Alchemy: Be sure to clamp return value 2016-01-24 02:20:45 +01:00
irq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
platform.c MIPS: Alchemy: platform: use clk framework for uarts 2014-07-30 14:09:02 +02:00
power.c MIPS: Alchemy: add helpers to access static memory ctrl registers. 2014-07-30 13:53:52 +02:00
prom.c MIPS: Alchemy: Resolve prom section mismatches 2010-10-04 18:33:59 +01:00
setup.c MIPS: Alchemy: remove declaration for set_cpuspec 2015-02-20 13:00:45 +01:00
sleeper.S MIPS: Fix gigaton of warning building with microMIPS. 2014-03-31 18:17:12 +02:00
time.c MIPS: Alchemy: Migrate to new 'set-state' interface 2015-09-03 12:07:50 +02:00
usb.c MIPS: Alchemy: usb: use clk framework 2014-07-30 14:09:21 +02:00
vss.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00