diff options
author | Ben Dooks <ben@fluff.org> | 2007-02-12 03:52:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:30 -0500 |
commit | 14fd9b3f8a0a36e706d144efcd579805a99de594 (patch) | |
tree | c670f97d81d52903362f8b5182e1e8692817501d /Documentation/spi | |
parent | 9b40ff4d729f4a7a9f832c67aa5de0dfa8ad45c0 (diff) |
[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 <ben-linux@fluff.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/spi-summary | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 81b6230d3d22..ecc7c9eb9f29 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary | |||
@@ -284,7 +284,6 @@ SPI protocol drivers somewhat resemble platform device drivers: | |||
284 | static struct spi_driver CHIP_driver = { | 284 | static struct spi_driver CHIP_driver = { |
285 | .driver = { | 285 | .driver = { |
286 | .name = "CHIP", | 286 | .name = "CHIP", |
287 | .bus = &spi_bus_type, | ||
288 | .owner = THIS_MODULE, | 287 | .owner = THIS_MODULE, |
289 | }, | 288 | }, |
290 | 289 | ||