[PATCH 3/5] serial: samsung: Use vsprintf extension %pR for struct resource

From: Joe Perches
Date: Mon Dec 13 2010 - 16:42:35 EST


Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/serial/samsung.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c
index 7ac2bf5..f71f511 100644
--- a/drivers/serial/samsung.c
+++ b/drivers/serial/samsung.c
@@ -1098,7 +1098,7 @@ static int s3c24xx_serial_init_port(struct s3c24xx_uart_port *ourport,
return -EINVAL;
}

- dbg("resource %p (%lx..%lx)\n", res, res->start, res->end);
+ dbg("resource %pR\n", res);

port->mapbase = res->start;
port->membase = S3C_VA_UART + (res->start & 0xfffff);
--
1.7.3.3.398.g0b0cd.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/