The patch titled spi: documentation does not need to set driver's bus_type field has been added to the -mm tree. Its filename is spi-documentation-does-not-need-to-set-drivers-bus_type-field.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: spi: documentation does not need to set driver's bus_type field From: Ben Dooks <ben@xxxxxxxxx> The spi_register_driver() sets the bus_type field of the spi_driver being registered, so there is no need to have it set in the driver itself. Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- Documentation/spi/spi-summary | 1 - 1 files changed, 1 deletion(-) diff -puN Documentation/spi/spi-summary~spi-documentation-does-not-need-to-set-drivers-bus_type-field Documentation/spi/spi-summary --- a/Documentation/spi/spi-summary~spi-documentation-does-not-need-to-set-drivers-bus_type-field +++ a/Documentation/spi/spi-summary @@ -284,7 +284,6 @@ SPI protocol drivers somewhat resemble p static struct spi_driver CHIP_driver = { .driver = { .name = "CHIP", - .bus = &spi_bus_type, .owner = THIS_MODULE, }, _ Patches currently in -mm which might be from ben@xxxxxxxxx are spi-add-spi_set_drvdata-and-spi_get_drvdata.patch spi-documentation-does-not-need-to-set-drivers-bus_type-field.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html