linux-bl808/arch/unicore32/kernel
Linus Walleij a80bb4c9ec unicore: gpio: 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.

Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-25 18:02:26 +01:00
..
asm-offsets.c
clock.c
debug-macro.S
debug.S
dma.c
early_printk.c
elf.c
entry.S
fpu-ucf64.c
gpio.c unicore: gpio: Be sure to clamp return value 2016-01-25 18:02:26 +01:00
head.S
hibernate.c
hibernate_asm.S
irq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
ksyms.c
ksyms.h
Makefile
module.c
pci.c
pm.c
process.c
ptrace.c
puv3-core.c
puv3-nb0916.c unicore32: nb0916: Use PWM lookup table 2015-11-10 13:06:44 +01:00
setup.c
setup.h
signal.c
sleep.S
stacktrace.c
sys.c
time.c unicore/time: Migrate to new 'set-state' interface 2015-08-10 11:41:06 +02:00
traps.c
vmlinux.lds.S