From: Andy Shevchenko Date: Thu, 1 Oct 2015 13:13:05 +0000 (+0300) Subject: ARM: davinci: re-use %*ph specifier X-Git-Tag: v4.4-rc1~55^2~3^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1a31e975738c215f450f3d7c15d5fb96942a866;p=thirdparty%2Fkernel%2Flinux.git ARM: davinci: re-use %*ph specifier %*ph specifier allows to dump data in hex format using the pointer to a buffer. This is suitable to use here. Signed-off-by: Andy Shevchenko Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 1a0898c1c17ec..bbdd2d614b497 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -546,9 +546,7 @@ static int dm6444evm_msp430_get_pins(void) if (status < 0) return status; - dev_dbg(&dm6446evm_msp->dev, - "PINS: %02x %02x %02x %02x\n", - buf[0], buf[1], buf[2], buf[3]); + dev_dbg(&dm6446evm_msp->dev, "PINS: %4ph\n", buf); return (buf[3] << 8) | buf[2]; }