linux/drivers/mmc
Lars-Peter Clausen 6601056a96 mmc: 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>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-01-11 23:58:42 -05:00
..
card mmc: core: check for zero length ioctl data 2012-01-11 23:58:42 -05:00
core mmc: sdio: support SDIO UHS cards 2012-01-11 23:58:41 -05:00
host mmc: Remove redundant spi driver bus initialization 2012-01-11 23:58:42 -05:00
Kconfig
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00