projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a5279
)
mtd: nand: Use printf extension %pR for struct resource
author
Joe Perches
<joe@perches.com>
Fri, 12 Nov 2010 21:37:58 +0000
(13:37 -0800)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:29:56 +0000
(16:29 +0000)
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>
drivers/mtd/nand/pasemi_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/pasemi_nand.c
b/drivers/mtd/nand/pasemi_nand.c
index 6ddb2461d740d26ded22005f15d3d6de8beb6349..bb277a54986f0bbe5554d0f7af0f78942031d530 100644
(file)
--- 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) +