linux_old1/drivers/spi
David Brownell 7d0771970c spi: move common spi_setup() functionality into core
Start moving some spi_setup() functionality into the SPI core from the
various spi_master controller drivers:

 - Make that function stop being an inline;

 - Move two common idioms from drivers into that new function:
    * Default bits_per_word to 8 if that field isn't set
    * Issue a standardized dev_dbg() message

This is a net minor source code shrink, and supports enhancments found in
some follow-up patches.

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>
2009-06-18 13:03:42 -07:00
..
Kconfig Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2009-06-14 13:42:43 -07:00
Makefile [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 2009-06-10 22:39:52 +01:00
amba-pl022.c [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 2009-06-10 22:39:52 +01:00
atmel_spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
au1550_spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
mpc52xx_psc_spi.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
omap2_mcspi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
omap_uwire.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
orion_spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
pxa2xx_spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_bfin5xx.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_bitbang.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_butterfly.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
spi_gpio.c spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spi_imx.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_lm70llp.c hwmon: (lm70) Code streamlining and cleanup 2009-01-07 16:37:34 +01:00
spi_mpc83xx.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_s3c24xx.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_s3c24xx_gpio.c [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> 2009-05-18 16:25:40 +01:00
spi_sh_sci.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi_txx9.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spidev.c spi: avoid spidev crash when device is removed 2008-12-01 19:55:24 -08:00
tle62x0.c tle62x0 driver stops ignoring read errors 2007-11-14 18:45:42 -08:00
xilinx_spi.c spi: move common spi_setup() functionality into core 2009-06-18 13:03:42 -07:00