diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-09-03 17:48:26 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-04 11:42:10 +0200 |
commit | 95f712662d96ef7e50f5ca882c3f83d16f1e28f0 (patch) | |
tree | 42bf791e892dda8fba93538764f58ec8844ce0a9 /samples | |
parent | 8e22ecb603c88b7397ab2e80b7b0811b8a1318f5 (diff) | |
download | linux-stable-95f712662d96ef7e50f5ca882c3f83d16f1e28f0.tar.gz linux-stable-95f712662d96ef7e50f5ca882c3f83d16f1e28f0.tar.bz2 linux-stable-95f712662d96ef7e50f5ca882c3f83d16f1e28f0.zip |
HID: hid-wiimote: print small buffers via %*phC
Instead of passing each byte through stack let's use %*phC specifier to dump
buffer as a hex string.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions