oxu210hp-hcd.c: struct device - replace bus_id with dev_name(), dev_set_name()
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 7 Nov 2008 00:47:15 +0000 (01:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:52 +0000 (09:59 -0800)
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/oxu210hp-hcd.c

index 251123c29d811e066210a8aa9903505f30861720..75548f7c716b1eab04dd1041665ec9c02421adf8 100644 (file)
@@ -3825,7 +3825,7 @@ static int oxu_drv_probe(struct platform_device *pdev)
        res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
        if (!res) {
                dev_err(&pdev->dev,
-                       "no IRQ! Check %s setup!\n", pdev->dev.bus_id);
+                       "no IRQ! Check %s setup!\n", dev_name(&pdev->dev));
                return -ENODEV;
        }
        irq = res->start;
@@ -3834,7 +3834,7 @@ static int oxu_drv_probe(struct platform_device *pdev)
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!res) {
                dev_err(&pdev->dev, "no registers address! Check %s setup!\n",
-                       pdev->dev.bus_id);
+                       dev_name(&pdev->dev));
                return -ENODEV;
        }
        memstart = res->start;
@@ -3893,7 +3893,7 @@ error_set_irq_type:
 error_ioremap:
        release_mem_region(memstart, memlen);
 
-       dev_err(&pdev->dev, "init %s fail, %d\n", pdev->dev.bus_id, ret);
+       dev_err(&pdev->dev, "init %s fail, %d\n", dev_name(&pdev->dev), ret);
        return ret;
 }