summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/pasemi_nand.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-12 13:37:58 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 16:29:56 +0000
commit23079f94daabc4e06436ab2b643fac31dec017d1 (patch)
treef4591ce908d5f098d7ace2d7fc344458cd194c2e /drivers/mtd/nand/pasemi_nand.c
parentf9a5279c70af10e967872e922b91310a91f87b05 (diff)
downloadlinux-23079f94daabc4e06436ab2b643fac31dec017d1.tar.gz
linux-23079f94daabc4e06436ab2b643fac31dec017d1.tar.bz2
linux-23079f94daabc4e06436ab2b643fac31dec017d1.zip
mtd: nand: 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/nand/pasemi_nand.c')
-rw-r--r--drivers/mtd/nand/pasemi_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c
index 6ddb2461d740..bb277a54986f 100644
--- a/drivers/mtd/nand/pasemi_nand.c
+++ b/drivers/mtd/nand/pasemi_nand.c
@@ -107,7 +107,7 @@ static int __devinit pasemi_nand_probe(struct platform_device *ofdev,
if (pasemi_nand_mtd)
return -ENODEV;
- pr_debug("pasemi_nand at %llx-%llx\n", res.start, res.end);
+ pr_debug("pasemi_nand at %pR\n", &res);
/* Allocate memory for MTD device structure and private data */
pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +