2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/include/linux/spi
Lars-Peter Clausen 3acbb0142d SPI: Add helper macro for spi_driver boilerplate
This patch introduces the module_spi_driver macro which is a convenience macro
for SPI driver modules similar to module_platform_driver. It is intended to be
used by drivers which init/exit section does nothing but register/unregister
the SPI driver. By using this macro it is possible to eliminate a few lines of
boilerplate code per SPI driver.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-17 12:15:39 -08:00
..
74x164.h
ad7877.h
ad7879.h
ads7846.h
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
ifx_modem.h
Kbuild
l4f00242t03.h
libertas_spi.h
lms283gf05.h
max7301.h
mc33880.h
mcp23s08.h
mmc_spi.h
orion_spi.h
pxa2xx_spi.h
sh_msiof.h
spi_bitbang.h
spi_gpio.h
spi_oc_tiny.h
spi.h SPI: Add helper macro for spi_driver boilerplate 2011-11-17 12:15:39 -08:00
spidev.h
tdo24m.h
tle62x0.h
tsc2005.h
xilinx_spi.h