Commit 74c71ebd authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

oxu210hp-hcd.c: struct device - replace bus_id with dev_name(), dev_set_name()

Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 427c4f33
......@@ -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 @@ static int oxu_drv_probe(struct platform_device *pdev)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment