[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b0257de80d350609c24a686acee9117be0257da4.1289597644.git.joe@perches.com>
Date: Fri, 12 Nov 2010 13:38:03 -0800
From: Joe Perches <joe@...ches.com>
To: Jiri Kosina <trivial@...nel.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 13/14] drivers/video: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@...ches.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists