linux/arch/m68k/coldfire
Linus Walleij 4693c2493a m68k: coldfire/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: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2016-01-04 13:25:12 +10:00
..
Makefile
cache.c
clk.c
device.c
dma.c
dma_timer.c
entry.S m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
firebee.c
gpio.c m68k: coldfire/gpio: Be sure to clamp return value 2016-01-04 13:25:12 +10:00
head.S
intc-2.c
intc-525x.c
intc-5249.c
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c
intc.c
m53xx.c
m54xx.c m68k/mm: m54xx - Add missing initialization of max_pfn 2015-11-22 11:35:24 +01:00
m520x.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m523x.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m525x.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m527x.c m68knommu: fix fec setup warning for ColdFire 5271 builds 2015-03-30 09:52:24 +10:00
m528x.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m5206.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m5249.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m5272.c phy: fixed_phy: Add gpio to determine link up/down. 2015-08-31 14:48:02 -07:00
m5307.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m5407.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
m5441x.c
mcf8390.c
nettel.c
pci.c PCI: Assign resources before drivers claim devices (pci_scan_bus()) 2015-03-12 15:04:01 -05:00
pit.c m68k/coldfire/pit: Migrate to new 'set-state' interface 2015-08-24 14:31:38 +10:00
reset.c
sltimers.c
timers.c
vectors.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00