diff options
author | Joe Perches <joe@perches.com> | 2010-11-12 22:37:57 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-03 17:29:54 +0100 |
commit | f9a5279c70af10e967872e922b91310a91f87b05 (patch) | |
tree | ded9ad28c58d9c575315b741cfde87d232be1bd3 /drivers/mtd/maps/ck804xrom.c | |
parent | mtd: NAND: jz4740: Remove custom {read,write}_page handlers (diff) | |
download | linux-f9a5279c70af10e967872e922b91310a91f87b05.tar.xz linux-f9a5279c70af10e967872e922b91310a91f87b05.zip |
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/ck804xrom.c')
-rw-r--r-- | drivers/mtd/maps/ck804xrom.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index ddb462bea9b5..5fdb7b26cea3 100644 --- a/drivers/mtd/maps/ck804xrom.c +++ b/drivers/mtd/maps/ck804xrom.c @@ -178,11 +178,8 @@ static int __devinit ck804xrom_init_one (struct pci_dev *pdev, if (request_resource(&iomem_resource, &window->rsrc)) { window->rsrc.parent = NULL; printk(KERN_ERR MOD_NAME - " %s(): Unable to register resource" - " 0x%.016llx-0x%.016llx - kernel bug?\n", - __func__, - (unsigned long long)window->rsrc.start, - (unsigned long long)window->rsrc.end); + " %s(): Unable to register resource %pR - kernel bug?\n", + __func__, &window->rsrc); } |