linux/drivers/net/wireless/p54
Lars-Peter Clausen 4e3309ba95 wireless: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus field of an
spi_driver to spi_bus_type. These days this is done in spi_driver_register(),
so we can drop the manual assignment.

The patch was generated using the following coccinelle semantic patch:
// <smpl>
@@
identifier _driver;
@@
struct spi_driver _driver = {
	.driver = {
-		.bus = &spi_bus_type,
	},
};
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Dan Williams <dcbw@redhat.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Luciano Coelho <coelho@ti.com>
Cc: libertas-dev@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-28 14:43:58 -05:00
..
eeprom.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
eeprom.h p54: enhance rssi->dBm database import 2011-02-14 15:52:10 -05:00
fwio.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
Kconfig p54spi: Update kconfig help text 2011-03-07 13:51:04 -05:00
led.c
lmac.h p54: implement multicast filter 2011-04-26 15:50:30 -04:00
main.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
Makefile
net2280.h
p54.h p54: improve site survey 2011-08-24 14:57:13 -04:00
p54pci.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
p54pci.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
p54spi.c wireless: Remove redundant spi driver bus initialization 2011-11-28 14:43:58 -05:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
p54usb.h
txrx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00