diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-24 19:38:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:38:21 -0400 |
commit | 6c7377ab6814c247d7600955a4ead2e3db490697 (patch) | |
tree | fabaed3b89e26609cdb911bd75407ed9c4b073b3 /drivers/spi/spi_bfin5xx.c | |
parent | 031d5518591006efd13a33a86909b9477b22917b (diff) |
spi: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: dbrownell@users.sourceforge.net
Cc: spi-devel-general@lists.sourceforge.net
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/spi/spi_bfin5xx.c')
-rw-r--r-- | drivers/spi/spi_bfin5xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c index 7fea3cf4588a..3410b0c55ed2 100644 --- a/drivers/spi/spi_bfin5xx.c +++ b/drivers/spi/spi_bfin5xx.c | |||
@@ -1160,8 +1160,8 @@ static inline int init_queue(struct driver_data *drv_data) | |||
1160 | 1160 | ||
1161 | /* init messages workqueue */ | 1161 | /* init messages workqueue */ |
1162 | INIT_WORK(&drv_data->pump_messages, pump_messages); | 1162 | INIT_WORK(&drv_data->pump_messages, pump_messages); |
1163 | drv_data->workqueue = | 1163 | drv_data->workqueue = create_singlethread_workqueue( |
1164 | create_singlethread_workqueue(drv_data->master->dev.parent->bus_id); | 1164 | dev_name(drv_data->master->dev.parent)); |
1165 | if (drv_data->workqueue == NULL) | 1165 | if (drv_data->workqueue == NULL) |
1166 | return -EBUSY; | 1166 | return -EBUSY; |
1167 | 1167 | ||