WSL2-Linux-Kernel/arch/arm/mach-sa1100
Linus Walleij 1f33b0131a ARM: sa1100/simpad: 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: arm@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-22 14:57:50 -08:00
..
include/mach ARM: sa1100: remove unused RTC register definitions 2015-09-05 19:37:17 +02:00
Kconfig ARM: 8136/1: sa1100: add Micro ASIC platform device 2014-09-12 17:39:50 +01:00
Makefile ARM: 8368/1: sa1100: move irq driver to drivers/irqchip/ 2015-05-28 14:40:03 +01:00
Makefile.boot ARM: sa1100: fix build error 2011-12-08 14:55:57 +08:00
assabet.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
badge4.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
cerf.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
clock.c ARM: 8250/1: sa1100: provide OSTIMER0 clock for pxa_timer 2015-01-14 11:28:22 +00:00
collie.c Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-02-12 08:51:56 -08:00
generic.c ARM: 8367/1: sa1100: prepare for moving irq driver to drivers/irqchip 2015-05-28 14:40:03 +01:00
generic.h cpufreq: Implement light weight ->target_index() routine 2013-10-25 22:42:24 +02:00
h3xxx.c ARM: 8136/1: sa1100: add Micro ASIC platform device 2014-09-12 17:39:50 +01:00
h3100.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
h3600.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
hackkit.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
jornada720.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
jornada720_ssp.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
lart.c arm-soc: cleanups 2013-02-21 14:58:40 -08:00
nanoengine.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
neponset.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
pci-nanoengine.c ARM: sa1100: Convert PCI to use generic config accessors 2015-01-30 16:14:43 -06:00
pleb.c ARM: fix typos in smc91x platform data 2015-03-04 23:32:26 -05:00
pm.c ARM: 8284/1: sa1100: clear RCSR_SMR on resume 2015-01-29 15:24:53 +00:00
shannon.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
simpad.c ARM: sa1100/simpad: Be sure to clamp return value 2015-12-22 14:57:50 -08:00
sleep.S ARM: 7452/1: delay: allow timer-based delay implementation to be selected 2012-07-09 17:42:23 +01:00
ssp.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00