HID: thingm: simplify debug output code
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 19 Jun 2016 13:46:02 +0000 (15:46 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 20 Jun 2016 09:26:27 +0000 (11:26 +0200)
commitddfe8483e9a938ed82b411e1f47c3249f0567658
tree76482c5ae0ea83fb690e585b760d78f7f85f7009
parent6be28d33874998e1523df818173dacfed180b792
HID: thingm: simplify debug output code

Kernel printf format %*ph allows to print small buffers up to 64 bytes.
Make use of it to simplify the debug output code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-thingm.c