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/mpc52xx_psc_spi.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/mpc52xx_psc_spi.c')
-rw-r--r-- | drivers/spi/mpc52xx_psc_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/mpc52xx_psc_spi.c b/drivers/spi/mpc52xx_psc_spi.c index 3b97803e1d11..68c77a911595 100644 --- a/drivers/spi/mpc52xx_psc_spi.c +++ b/drivers/spi/mpc52xx_psc_spi.c | |||
@@ -429,7 +429,7 @@ static int __init mpc52xx_psc_spi_do_probe(struct device *dev, u32 regaddr, | |||
429 | INIT_LIST_HEAD(&mps->queue); | 429 | INIT_LIST_HEAD(&mps->queue); |
430 | 430 | ||
431 | mps->workqueue = create_singlethread_workqueue( | 431 | mps->workqueue = create_singlethread_workqueue( |
432 | master->dev.parent->bus_id); | 432 | dev_name(master->dev.parent)); |
433 | if (mps->workqueue == NULL) { | 433 | if (mps->workqueue == NULL) { |
434 | ret = -EBUSY; | 434 | ret = -EBUSY; |
435 | goto free_irq; | 435 | goto free_irq; |