diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-24 16:38:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:38:21 -0700 |
commit | 6c7377ab6814c247d7600955a4ead2e3db490697 (patch) | |
tree | fabaed3b89e26609cdb911bd75407ed9c4b073b3 /drivers/spi/omap2_mcspi.c | |
parent | 031d5518591006efd13a33a86909b9477b22917b (diff) | |
download | linux-3.10-6c7377ab6814c247d7600955a4ead2e3db490697.tar.gz linux-3.10-6c7377ab6814c247d7600955a4ead2e3db490697.tar.bz2 linux-3.10-6c7377ab6814c247d7600955a4ead2e3db490697.zip |
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/omap2_mcspi.c')
-rw-r--r-- | drivers/spi/omap2_mcspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 454a2712e62..1c65e380c84 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -1003,7 +1003,7 @@ static int __init omap2_mcspi_probe(struct platform_device *pdev) goto err1; } if (!request_mem_region(r->start, (r->end - r->start) + 1, - pdev->dev.bus_id)) { + dev_name(&pdev->dev))) { status = -EBUSY; goto err1; } |