diff options
Diffstat (limited to 'drivers/spi/atmel_spi.c')
-rw-r--r-- | drivers/spi/atmel_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index 56ff3e6864ea..12e443cc4ac9 100644 --- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c | |||
@@ -322,7 +322,7 @@ static void atmel_spi_next_message(struct spi_master *master) | |||
322 | spi = msg->spi; | 322 | spi = msg->spi; |
323 | 323 | ||
324 | dev_dbg(master->dev.parent, "start message %p for %s\n", | 324 | dev_dbg(master->dev.parent, "start message %p for %s\n", |
325 | msg, spi->dev.bus_id); | 325 | msg, dev_name(&spi->dev)); |
326 | 326 | ||
327 | /* select chip if it's not still active */ | 327 | /* select chip if it's not still active */ |
328 | if (as->stay) { | 328 | if (as->stay) { |
@@ -627,7 +627,7 @@ static int atmel_spi_setup(struct spi_device *spi) | |||
627 | if (!asd) | 627 | if (!asd) |
628 | return -ENOMEM; | 628 | return -ENOMEM; |
629 | 629 | ||
630 | ret = gpio_request(npcs_pin, spi->dev.bus_id); | 630 | ret = gpio_request(npcs_pin, dev_name(&spi->dev)); |
631 | if (ret) { | 631 | if (ret) { |
632 | kfree(asd); | 632 | kfree(asd); |
633 | return ret; | 633 | return ret; |
@@ -668,7 +668,7 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *msg) | |||
668 | as = spi_master_get_devdata(spi->master); | 668 | as = spi_master_get_devdata(spi->master); |
669 | 669 | ||
670 | dev_dbg(controller, "new message %p submitted for %s\n", | 670 | dev_dbg(controller, "new message %p submitted for %s\n", |
671 | msg, spi->dev.bus_id); | 671 | msg, dev_name(&spi->dev)); |
672 | 672 | ||
673 | if (unlikely(list_empty(&msg->transfers))) | 673 | if (unlikely(list_empty(&msg->transfers))) |
674 | return -EINVAL; | 674 | return -EINVAL; |
@@ -803,7 +803,7 @@ static int __init atmel_spi_probe(struct platform_device *pdev) | |||
803 | as->clk = clk; | 803 | as->clk = clk; |
804 | 804 | ||
805 | ret = request_irq(irq, atmel_spi_interrupt, 0, | 805 | ret = request_irq(irq, atmel_spi_interrupt, 0, |
806 | pdev->dev.bus_id, master); | 806 | dev_name(&pdev->dev), master); |
807 | if (ret) | 807 | if (ret) |
808 | goto out_unmap_regs; | 808 | goto out_unmap_regs; |
809 | 809 | ||