linux_dsm_epyc7002/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 wl1251: remove wext dependencies 2011-08-08 14:26:21 -04:00
debugfs.c
debugfs.h
event.c wl1251: Prepare for idle mode support 2011-04-07 15:34:14 -04:00
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 wl1251: Add support for idle mode 2011-04-07 15:34:14 -04:00
ps.h wl1251: Prepare for idle mode support 2011-04-07 15:34:14 -04:00
reg.h
rx.c Fix common misspellings 2011-03-31 11:26:23 -03:00
rx.h
sdio.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
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: remove wext dependencies 2011-08-08 14:26:21 -04:00
wl1251.h wl1251: Add support for idle mode 2011-04-07 15:34:14 -04:00