aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-06 19:47:15 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 12:59:52 -0500
commit74c71ebd8d7c7a513022851a02bb52b9fa7e0dcb (patch)
tree32595e0a66a0cc5a5727c3901271b48362fbeca5 /drivers/usb/host
parent427c4f333474f5447f62387c1fb060e586c1a781 (diff)
oxu210hp-hcd.c: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/oxu210hp-hcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
index 251123c29d81..75548f7c716b 100644
--- a/drivers/usb/host/oxu210hp-hcd.c
+++ b/drivers/usb/host/oxu210hp-hcd.c
@@ -3825,7 +3825,7 @@ static int oxu_drv_probe(struct platform_device *pdev)
3825 res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); 3825 res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
3826 if (!res) { 3826 if (!res) {
3827 dev_err(&pdev->dev, 3827 dev_err(&pdev->dev,
3828 "no IRQ! Check %s setup!\n", pdev->dev.bus_id); 3828 "no IRQ! Check %s setup!\n", dev_name(&pdev->dev));
3829 return -ENODEV; 3829 return -ENODEV;
3830 } 3830 }
3831 irq = res->start; 3831 irq = res->start;
@@ -3834,7 +3834,7 @@ static int oxu_drv_probe(struct platform_device *pdev)
3834 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 3834 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
3835 if (!res) { 3835 if (!res) {
3836 dev_err(&pdev->dev, "no registers address! Check %s setup!\n", 3836 dev_err(&pdev->dev, "no registers address! Check %s setup!\n",
3837 pdev->dev.bus_id); 3837 dev_name(&pdev->dev));
3838 return -ENODEV; 3838 return -ENODEV;
3839 } 3839 }
3840 memstart = res->start; 3840 memstart = res->start;
@@ -3893,7 +3893,7 @@ error_set_irq_type:
3893error_ioremap: 3893error_ioremap:
3894 release_mem_region(memstart, memlen); 3894 release_mem_region(memstart, memlen);
3895 3895
3896 dev_err(&pdev->dev, "init %s fail, %d\n", pdev->dev.bus_id, ret); 3896 dev_err(&pdev->dev, "init %s fail, %d\n", dev_name(&pdev->dev), ret);
3897 return ret; 3897 return ret;
3898} 3898}
3899 3899