diff options
author | Tony Jones <tonyj@suse.de> | 2007-10-16 04:27:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:10 -0400 |
commit | 49dce689ad4ef0fd1f970ef762168e4bd46f69a3 (patch) | |
tree | e9e6d07c704118d82a638ae1f01a7ef5b59dd68b /drivers/spi/spi_bitbang.c | |
parent | cd58310d775fc10cc820b27c10f619187b8c4133 (diff) |
spi doesn't need class_device
Make the SPI framework and drivers stop using class_device. Update docs
accordingly ... highlighting just which sysfs paths should be
"safe"/stable.
Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi/spi_bitbang.c')
-rw-r--r-- | drivers/spi/spi_bitbang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index 0c85c984ccb4..81639c6be1c7 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c | |||
@@ -472,7 +472,7 @@ int spi_bitbang_start(struct spi_bitbang *bitbang) | |||
472 | /* this task is the only thing to touch the SPI bits */ | 472 | /* this task is the only thing to touch the SPI bits */ |
473 | bitbang->busy = 0; | 473 | bitbang->busy = 0; |
474 | bitbang->workqueue = create_singlethread_workqueue( | 474 | bitbang->workqueue = create_singlethread_workqueue( |
475 | bitbang->master->cdev.dev->bus_id); | 475 | bitbang->master->dev.parent->bus_id); |
476 | if (bitbang->workqueue == NULL) { | 476 | if (bitbang->workqueue == NULL) { |
477 | status = -EBUSY; | 477 | status = -EBUSY; |
478 | goto err1; | 478 | goto err1; |