media: gspca: dtcs033: use %*ph to print small buffer
authorAntonio Cardace <anto.cardace@gmail.com>
Mon, 12 Feb 2018 18:35:25 +0000 (13:35 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 13:14:47 +0000 (08:14 -0500)
commitc32678eac48ad3c0ecad47f8879f9017390e358a
tree8acf1a4ee171b29452bdd93fcfe1955dc0a19d12
parented356f110403f6acc64dcbbbfdc38662ab9b06c2
media: gspca: dtcs033: use %*ph to print small buffer

Use %*ph format to print small buffer as hex string.

Remove newline at the end of the format string as it would be duplicated
by the one supplied as last argument.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Antonio Cardace <anto.cardace@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/gspca/dtcs033.c