Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933001Ab0KLVjA (ORCPT ); Fri, 12 Nov 2010 16:39:00 -0500 Received: from mail.perches.com ([173.55.12.10]:1028 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932174Ab0KLViS (ORCPT ); Fri, 12 Nov 2010 16:38:18 -0500 From: Joe Perches To: Jiri Kosina Cc: linux-kernel@vger.kernel.org Subject: [PATCH 13/14] drivers/video: Use printf extension %pR for struct resource Date: Fri, 12 Nov 2010 13:38:03 -0800 Message-Id: X-Mailer: git-send-email 1.7.3.1.g432b3.dirty In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 34 Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/