linux/drivers/video/fbdev/via
Linus Walleij 13e676be08 fbdev: via-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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-05 10:28:03 +01:00
..
accel.c
accel.h
chip.h
debug.h
dvi.c
dvi.h
global.c
global.h
hw.c
hw.h
ioctl.c
ioctl.h
lcd.c
lcd.h
Makefile
share.h
tblDPASetting.c
tblDPASetting.h
via_aux_ch7301.c
via_aux_edid.c
via_aux_sii164.c
via_aux_vt1621.c
via_aux_vt1622.c
via_aux_vt1625.c
via_aux_vt1631.c
via_aux_vt1632.c
via_aux_vt1636.c
via_aux.c
via_aux.h
via_clock.c fbdev: via/via_clock: fix sparse warning 2015-03-02 13:17:25 +02:00
via_clock.h
via_i2c.c
via_modesetting.c
via_modesetting.h
via_utility.c
via_utility.h
via-core.c
via-gpio.c fbdev: via-gpio: Be sure to clamp return value 2016-01-05 10:28:03 +01:00
viafbdev.c video: fbdev-VIA: Deletion of an unnecessary check before the function call "framebuffer_release" 2014-12-04 16:16:02 +02:00
viafbdev.h
viamode.c
viamode.h
vt1636.c
vt1636.h