summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ppc4xx
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-12 13:37:54 -0800
committerDan Williams <dan.j.williams@intel.com>2010-12-04 15:03:40 -0800
commita584bff5efae8c1d026e3a930e3d13a90264fafc (patch)
tree32aab71b23d45526d51963fb8ad8167375ef524b /drivers/dma/ppc4xx
parentbca364d30d63825f36a03dcacf390943d4c2cb74 (diff)
downloadlinux-a584bff5efae8c1d026e3a930e3d13a90264fafc.tar.bz2
drivers/dma/ppc4xx: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ppc4xx')
-rw-r--r--drivers/dma/ppc4xx/adma.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index 0d58a4a4487f..cef584533ee8 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -4449,9 +4449,8 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev,
if (!request_mem_region(res.start, resource_size(&res),
dev_driver_string(&ofdev->dev))) {
- dev_err(&ofdev->dev, "failed to request memory region "
- "(0x%016llx-0x%016llx)\n",
- (u64)res.start, (u64)res.end);
+ dev_err(&ofdev->dev, "failed to request memory region %pR\n",
+ &res);
initcode = PPC_ADMA_INIT_MEMREG;
ret = -EBUSY;
goto out;