linux-sg2042/drivers/soc
Linus Walleij e847396b40 powerpc: qe_lib/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: 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
..
bcm ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency 2015-12-31 23:44:17 +01:00
brcmstb soc: brcmstb: Add Bus Interface Unit control setup 2015-10-09 13:42:16 -07:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl powerpc: qe_lib/gpio: Be sure to clamp return value 2016-01-25 18:02:26 +01:00
mediatek Change the scpsys to builtin_platform_driver_probe. 2015-12-22 13:02:28 -08:00
qcom ARM: SoC fixes for v4.5 merge window 2016-01-22 17:26:00 -08:00
rockchip soc: rockchip: power-domain: don't try to print the clock name in error case 2015-10-16 09:23:59 +02:00
sunxi drivers: soc: sunxi: Introduce SoC driver to map SRAMs 2015-06-01 17:57:34 +02:00
tegra ARM: tegra: select USB_ULPI from EHCI rather than platform 2015-11-24 16:47:26 +01:00
ti ARM: SoC driver updates for v4.5 2016-01-20 18:42:30 -08:00
versatile soc: versatile: add support for the PB11MPCore 2015-12-15 09:42:50 +01:00
Kconfig ARM: SoC support for Tegra platforms for v4.5 2016-01-22 17:30:52 -08:00
Makefile ARM: SoC driver updates for v4.5 2016-01-20 18:42:30 -08:00