linux/arch/powerpc
Linus Walleij a4ce4b8dae powerpc: simple_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: Anton Vorontsov <anton@enomsg.org>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-25 18:02:26 +01:00
..
boot powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
configs
crypto
include dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
kernel Merge branch 'akpm' (patches from Andrew) 2016-01-21 12:32:08 -08:00
kvm kvm: rename pfn_t to kvm_pfn_t 2016-01-15 17:56:32 -08:00
lib
math-emu
mm powerpc, thp: remove infrastructure for handling splitting PMDs 2016-01-15 17:56:32 -08:00
net
oprofile
perf
platforms wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
sysdev powerpc: simple_gpio: Be sure to clamp return value 2016-01-25 18:02:26 +01:00
xmon powerpc: enable UBSAN support 2016-01-20 17:09:18 -08:00
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Kconfig.debug powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
Makefile
relocs_check.sh