linux/drivers/misc
Devendra Naga 9c8dc10f48 misc: use module_spi_driver
The _init and _exit functions can be replaced with the module_spi_driver
macro, which actually implements

static int __init drv_init(void)
{
	spi_register_driver(&driv_op);
	return 0;
}

module_init(drv_init);

static void __exit drv_exit(void)
{
	spi_unregister_driver(&driv_op);
}

module_exit(drv_exit);

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-05 14:10:29 -07:00
..
altera-stapl
c2port
carma carma: remove unnecessary DMA_INTERRUPT capability 2012-08-16 10:10:02 -07:00
cb710 PCI: do not call pci_set_power_state with PCI_D3cold 2012-06-23 10:50:44 -06:00
eeprom misc/at25, dt: Improve at25 SPI eeprom device tree bindings. 2012-09-05 14:10:29 -07:00
ibmasm
lis3lv02d lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer 2012-09-05 13:44:04 -07:00
mei mei: add lynx point pci device ids 2012-09-05 13:45:56 -07:00
sgi-gru
sgi-xp drivers/misc/sgi-xp/xpc_uv.c: SGI XPC fails to load when cpu 0 is out of IRQ resources 2012-08-21 16:45:03 -07:00
ti-st ti-st: Fix check for pdata->chip_awake function pointer 2012-08-16 12:32:34 -07:00
Kconfig Merge branch 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm 2012-07-30 09:22:37 -07:00
Makefile iwmc3200top: remove driver for unavailable hardware 2012-07-11 15:40:22 -04:00
ab8500-pwm.c mfd: Register ab8500 devices using the newly DT:ed MFD API 2012-07-09 00:16:13 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
arm-charlcd.c
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c
bh1770glc.c
bh1780gli.c
bmp085-i2c.c driver: misc: bmp085: remove "of_match_table" property. 2012-08-16 10:10:02 -07:00
bmp085-spi.c misc: use module_spi_driver 2012-09-05 14:10:29 -07:00
bmp085.c
bmp085.h
cs5535-mfgpt.c
ds1682.c
enclosure.c
ep93xx_pwm.c
fsa9480.c
hmc6352.c
hpilo.c misc: hpilo: increase number of max supported channels 2012-06-14 17:22:12 -07:00
hpilo.h misc: hpilo: increase number of max supported channels 2012-06-14 17:22:12 -07:00
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
kgdbts.c
lkdtm.c drivers/misc/lkdtm.c: fix missing allocation failure check 2012-07-30 17:25:22 -07:00
pch_phub.c pch_phub: use module_pci_driver 2012-08-16 10:09:15 -07:00
phantom.c
pti.c
spear13xx_pcie_gadget.c
ti_dac7512.c
tifm_7xx1.c tifm: use module_pci_driver 2012-09-05 14:10:29 -07:00
tifm_core.c
tsl2550.c
vmw_balloon.c