![]() 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_register_driver() 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> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
ad5930.c | ||
ad9832.c | ||
ad9832.h | ||
ad9834.c | ||
ad9834.h | ||
ad9850.c | ||
ad9852.c | ||
ad9910.c | ||
ad9951.c | ||
dds.h | ||
Kconfig | ||
Makefile |