summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/physmap_of.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-12 13:37:57 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 16:29:54 +0000
commitf9a5279c70af10e967872e922b91310a91f87b05 (patch)
treeded9ad28c58d9c575315b741cfde87d232be1bd3 /drivers/mtd/maps/physmap_of.c
parent9118ea321ee320e3c670540122857ff0eba91e32 (diff)
downloadop-kernel-dev-f9a5279c70af10e967872e922b91310a91f87b05.zip
op-kernel-dev-f9a5279c70af10e967872e922b91310a91f87b05.tar.gz
mtd: maps: 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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/physmap_of.c')
-rw-r--r--drivers/mtd/maps/physmap_of.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
index 9861814..8506578 100644
--- a/drivers/mtd/maps/physmap_of.c
+++ b/drivers/mtd/maps/physmap_of.c
@@ -274,9 +274,7 @@ static int __devinit of_flash_probe(struct platform_device *dev,
continue;
}
- dev_dbg(&dev->dev, "of_flash device: %.8llx-%.8llx\n",
- (unsigned long long)res.start,
- (unsigned long long)res.end);
+ dev_dbg(&dev->dev, "of_flash device: %pR\n", &res);
err = -EBUSY;
res_size = resource_size(&res);
OpenPOWER on IntegriCloud