mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 13:36:44 +07:00
4e3309ba95
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> |
||
---|---|---|
.. | ||
acx.c | ||
acx.h | ||
boot.c | ||
boot.h | ||
cmd.c | ||
cmd.h | ||
debugfs.c | ||
debugfs.h | ||
event.c | ||
event.h | ||
init.c | ||
init.h | ||
io.c | ||
io.h | ||
Kconfig | ||
main.c | ||
Makefile | ||
ps.c | ||
ps.h | ||
reg.h | ||
rx.c | ||
rx.h | ||
sdio.c | ||
spi.c | ||
spi.h | ||
tx.c | ||
tx.h | ||
wl12xx_80211.h | ||
wl1251.h |