diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 14:17:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 14:17:04 -0400 |
commit | 0c93ea4064a209cdc36de8a9a3003d43d08f46f7 (patch) | |
tree | ff19952407c523a1349ef56c05993416dd28437e /drivers/spi/atmel_spi.c | |
parent | bc2fd381d8f9dbeb181f82286cdca1567e3d0def (diff) | |
parent | e6e66b02e11563abdb7f69dcb7a2efbd8d577e77 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (61 commits)
Dynamic debug: fix pr_fmt() build error
Dynamic debug: allow simple quoting of words
dynamic debug: update docs
dynamic debug: combine dprintk and dynamic printk
sysfs: fix some bin_vm_ops errors
kobject: don't block for each kobject_uevent
sysfs: only allow one scheduled removal callback per kobj
Driver core: Fix device_move() vs. dpm list ordering, v2
Driver core: some cleanup on drivers/base/sys.c
Driver core: implement uevent suppress in kobject
vcs: hook sysfs devices into object lifetime instead of "binding"
driver core: fix passing platform_data
driver core: move platform_data into platform_device
sysfs: don't block indefinitely for unmapped files.
driver core: move knode_bus into private structure
driver core: move knode_driver into private structure
driver core: move klist_children into private structure
driver core: create a private portion of struct device
driver core: remove polling for driver_probe_done(v5)
sysfs: reference sysfs_dirent from sysfs inodes
...
Fixed conflicts in drivers/sh/maple/maple.c manually
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 | ||