[PATCH 13/14] drivers/video: Use printf extension %pR for struct resource
From: Joe Perches
Date: Fri Nov 12 2010 - 16:39:16 EST
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/video/platinumfb.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c
index a50e197..cfe3c79 100644
--- a/drivers/video/platinumfb.c
+++ b/drivers/video/platinumfb.c
@@ -557,12 +557,8 @@ static int __devinit platinumfb_probe(struct platform_device* odev,
framebuffer_release(info);
return -ENXIO;
}
- dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n",
- (unsigned long long)pinfo->rsrc_reg.start,
- (unsigned long long)pinfo->rsrc_reg.end);
- dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n",
- (unsigned long long)pinfo->rsrc_fb.start,
- (unsigned long long)pinfo->rsrc_fb.end);
+ dev_dbg(&odev->dev, " registers : %pR\n", &pinfo->rsrc_reg);
+ dev_dbg(&odev->dev, " framebuffer: %pR\n", &pinfo->rsrc_fb);
/* Do not try to request register space, they overlap with the
* northbridge and that can fail. Only request framebuffer
--
1.7.3.1.g432b3.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/