aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-10-01 09:13:05 -0400
committerSekhar Nori <nsekhar@ti.com>2015-10-07 07:10:58 -0400
commitd1a31e975738c215f450f3d7c15d5fb96942a866 (patch)
tree9b401eadfe41ecb0df0f6926c4e019cf81546c27 /arch/arm/mach-davinci
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/board-dm644x-evm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index 1a0898c1c17e..bbdd2d614b49 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)
546 if (status < 0) 546 if (status < 0)
547 return status; 547 return status;
548 548
549 dev_dbg(&dm6446evm_msp->dev, 549 dev_dbg(&dm6446evm_msp->dev, "PINS: %4ph\n", buf);
550 "PINS: %02x %02x %02x %02x\n",
551 buf[0], buf[1], buf[2], buf[3]);
552 550
553 return (buf[3] << 8) | buf[2]; 551 return (buf[3] << 8) | buf[2];
554} 552}