Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Joe Perches <> | Subject | [PATCH 13/14] drivers/video: Use printf extension %pR for struct resource | Date | Fri, 12 Nov 2010 13:38:03 -0800 |
| |
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com> --- 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
| ![\](/images/icornerr.gif) |