alistair23-linux/drivers/spi
Michał Mirosław 9f3b795a62 driver-core: constify data for class_find_device()
All in-kernel users of class_find_device() don't really need mutable
data for match callback.

In two places (kernel/power/suspend_test.c, drivers/scsi/osd/osd_uld.c)
this patch changes match callbacks to use const search data.

The const is propagated to rtc_class_open() and power_supply_get_by_name()
parameters.

Note that there's a dev reference leak in suspend_test.c that's not
touched in this patch.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-06 12:18:56 -08:00
..
Kconfig drivers/spi: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08: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: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08: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 spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +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: By default setup spi_masters with 1 chipselect and dynamics bus number 2012-05-19 23:42:08 -06:00
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: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08:00
spi-nuc900.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-oc-tiny.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +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: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08: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 spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07: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: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08: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: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08:00
spi-tegra20-sflash.c spi: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08:00
spi-tegra20-slink.c spi: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08: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 driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00
spidev.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00