summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_bitbang.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-06 19:44:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 19:44:37 +0100
commit35f74fcab1228be03eab5f4d21ddc89fca1bc5b8 (patch)
tree90accbaacafe47adc265c8fd414d4a1a058ca593 /drivers/spi/spi_bitbang.c
parentswiotlb: struct device - replace bus_id with dev_name(), dev_set_name() (diff)
downloadlinux-35f74fcab1228be03eab5f4d21ddc89fca1bc5b8.tar.xz
linux-35f74fcab1228be03eab5f4d21ddc89fca1bc5b8.zip
spi: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/spi/spi_bitbang.c')
-rw-r--r--drivers/spi/spi_bitbang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c
index 96cc39ecb6e2..85e61f451218 100644
--- a/drivers/spi/spi_bitbang.c
+++ b/drivers/spi/spi_bitbang.c
@@ -475,7 +475,7 @@ int spi_bitbang_start(struct spi_bitbang *bitbang)
/* this task is the only thing to touch the SPI bits */
bitbang->busy = 0;
bitbang->workqueue = create_singlethread_workqueue(
- bitbang->master->dev.parent->bus_id);
+ dev_name(bitbang->master->dev.parent));
if (bitbang->workqueue == NULL) {
status = -EBUSY;
goto err1;