From: Ben Dooks Date: Mon, 12 Feb 2007 08:52:42 +0000 (-0800) Subject: [PATCH] spi: documentation does not need to set driver's bus_type field X-Git-Tag: v2.6.21-rc1~274^2~164 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14fd9b3f8a0a36e706d144efcd579805a99de594;p=linux-2.6 [PATCH] spi: documentation does not need to set driver's bus_type field 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 Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 81b6230d3d..ecc7c9eb9f 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary @@ -284,7 +284,6 @@ SPI protocol drivers somewhat resemble platform device drivers: static struct spi_driver CHIP_driver = { .driver = { .name = "CHIP", - .bus = &spi_bus_type, .owner = THIS_MODULE, },