android_kernel_samsung_msm8976/drivers/spi
David Brownell d1e44d9ce8 SPI driver runtime footprint shrinkage
Shrink the runtime footprint of various SPI drivers:

  - Move the probe() routine into the init section where practical,
    using platform_driver_probe() to make that safe.  This often saves
    around 1KB.  Using platform_driver_probe() can also be a correctness
    fix, if the probe routine is already marked __init but the driver
    struct keeps a dangling pointer to it after init section removal.

  - Likewise move remove() routines into the exit sections.

These changes would be inappropriate iff the platform devices were
actually hotpluggable (e.g. they're found on optional addon cards,
or in an FPGA that's dynamically reprogrammed).  In these cases,
that's not the situation; it's an SOC controller and the only device
is initialized before these drivers.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:09 -07:00
..
at25.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
atmel_spi.c Fix typo in atmel_spi.c 2007-08-31 01:42:23 -07:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
au1550_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
Kconfig spi_txx9 controller driver 2007-07-17 10:23:05 -07:00
Makefile spi_txx9 controller driver 2007-07-17 10:23:05 -07:00
mpc52xx_psc_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
omap2_mcspi.c OMAP2 McSPI code cleanup 2007-10-16 09:43:09 -07:00
omap_uwire.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
pxa2xx_spi.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
spi_bfin5xx.c Clean up duplicate includes in drivers/spi/ 2007-10-16 09:43:09 -07:00
spi_bitbang.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_butterfly.c minor spi_butterfly cleanup 2007-05-08 11:15:15 -07:00
spi_imx.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi_lm70llp.c spi_lm70llp parport adapter driver 2007-07-17 10:23:04 -07:00
spi_mpc83xx.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi_s3c24xx.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi_s3c24xx_gpio.c SPI driver hotplug/coldplug fixes 2007-08-31 01:42:22 -07:00
spi_txx9.c spi: correct name for spi_txx9 2007-08-31 01:42:22 -07:00
spidev.c spidev warning fix 2007-08-11 15:47:42 -07:00
tle62x0.c SPI: tle620x power switch driver 2007-07-17 10:23:05 -07:00
xilinx_spi.c SPI driver hotplug/coldplug fixes 2007-08-31 01:42:22 -07:00