linux/drivers/net/wireless/wl1251
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
..
acx.c drivers/net/wireless/wl1251: add missing kfree 2011-08-10 14:07:10 -04:00
acx.h
boot.c
boot.h
cmd.c drivers/net/wireless/wl1251: add missing kfree 2011-08-10 14:07:10 -04:00
cmd.h
debugfs.c
debugfs.h
event.c
event.h
init.c
init.h
io.c
io.h
Kconfig
main.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
Makefile
ps.c
ps.h
reg.h
rx.c
rx.h
sdio.c
spi.c wireless: Remove redundant spi driver bus initialization 2011-11-28 14:43:58 -05:00
spi.h
tx.c
tx.h
wl12xx_80211.h
wl1251.h