projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b40ff4
)
[PATCH] spi: documentation does not need to set driver's bus_type field
author
Ben Dooks
<ben@fluff.org>
Mon, 12 Feb 2007 08:52:42 +0000
(
00:52
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:30 +0000
(09:48 -0800)
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>
Documentation/spi/spi-summary
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/spi/spi-summary
b/Documentation/spi/spi-summary
index 81b6230d3d223629644d6f71947144141f009e98..ecc7c9eb9f2938ee00b38aa30863050c3ac01c0d 100644
(file)
--- 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,
},