Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1a31e97 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Sekhar Nori
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 6ff33f39
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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];
}