alistair23-linux/drivers/spi
Grant Likely e80beb27d2 gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()
This patch replaces the horribly coded of_count_named_gpios() with a
call to of_count_phandle_with_args() which is far more efficient. This
also changes the return value of of_gpio_count() & of_gpio_named_count()
from 'unsigned int' to 'int' so that it can return an error code. All
the users of that function are fixed up to correctly handle a negative
return value.

v2: Split GPIO portion into a separate patch

Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
2013-02-13 10:11:53 +00:00
..
Kconfig spi/sh: Add SH Mobile series as dependency to MSIOF controller 2012-12-06 14:05:54 +00:00
Makefile spi/stmp: remove obsolete driver 2012-12-06 14:02:53 +00:00
spi-altera.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ath79.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-atmel.c spi/atmel: add DT support 2012-12-17 17:11:32 +00:00
spi-au1550.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bcm63xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bfin-sport.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bfin5xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bitbang-txrx.h
spi-bitbang.c spi/bitbang: (cosmetic) simplify list manipulation 2012-11-14 15:38:15 +00:00
spi-butterfly.c
spi-clps711x.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-coldfire-qspi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-davinci.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw-mid.c
spi-dw-mmio.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw-pci.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw.h
spi-ep93xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-falcon.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-espi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-lib.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-lib.h
spi-fsl-spi.c gpio: Make of_count_named_gpios() use new of_count_phandle_with_args() 2013-02-13 10:11:53 +00:00
spi-gpio.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-imx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-lm70llp.c
spi-mpc52xx-psc.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mpc52xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mpc512x-psc.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mxs.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-nuc900.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-oc-tiny.c gpio: Make of_count_named_gpios() use new of_count_phandle_with_args() 2013-02-13 10:11:53 +00:00
spi-octeon.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-omap-100k.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-omap-uwire.c ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
spi-omap2-mcspi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-orion.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-pl022.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ppc4xx.c gpio: Make of_count_named_gpios() use new of_count_phandle_with_args() 2013-02-13 10:11:53 +00:00
spi-pxa2xx-pci.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-pxa2xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-rspi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-s3c24xx-fiq.h
spi-s3c24xx-fiq.S
spi-s3c24xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-s3c64xx.c spi: Change FIFO flush operation and spi channel off 2012-12-15 00:49:34 +00:00
spi-sc18is602.c spi/sc18is602: Return -EINVAL for probe failures due to I2C function mismatch 2012-08-23 12:13:54 +01:00
spi-sh-hspi.c spi/sh-hspi: fix return value check in hspi_probe(). 2012-12-19 15:11:41 +00:00
spi-sh-msiof.c spi/sh-msiof: Remove unneeded clock name 2012-12-06 14:05:00 +00:00
spi-sh-sci.c
spi-sh.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-sirf.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tegra20-sflash.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tegra20-slink.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ti-ssp.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tle62x0.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-topcliff-pch.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-txx9.c
spi-xcomm.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-xilinx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi.c gpio: Make of_count_named_gpios() use new of_count_phandle_with_args() 2013-02-13 10:11:53 +00:00
spidev.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00