drivers/parisc: Use printf extension %pR for struct resource

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Joe Perches
2010-11-12 21:38:00 +00:00
committed by Helge Deller
parent fbd48433e7
commit 3fad9b8d59
2 changed files with 7 additions and 12 deletions

View File

@@ -74,10 +74,8 @@ static int hppb_probe(struct parisc_device *dev)
status = ccio_request_resource(dev, &card->mmio_region);
if(status < 0) {
printk(KERN_ERR "%s: failed to claim HP-PB "
"bus space (0x%08llx, 0x%08llx)\n",
__FILE__, (unsigned long long) card->mmio_region.start,
(unsigned long long) card->mmio_region.end);
printk(KERN_ERR "%s: failed to claim HP-PB bus space (%pR)\n",
__FILE__, &card->mmio_region);
}
return 0;