diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-09-05 08:00:43 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-10 17:00:32 -0400 |
commit | e2e78e71d1a3d721beaaab591f3d6c4886ef21a4 (patch) | |
tree | d7c6f3b3894e5f9cead0cd88a560dde8619b2fa0 /drivers/hid | |
parent | 8b61513b86a221760389237c039105b5a5a332b3 (diff) |
HID: holtekff: use %*ph to dump small buffers
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-holtekff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-holtekff.c b/drivers/hid/hid-holtekff.c index 4e7542151e22..ff295e60059b 100644 --- a/drivers/hid/hid-holtekff.c +++ b/drivers/hid/hid-holtekff.c | |||
@@ -100,8 +100,7 @@ static void holtekff_send(struct holtekff_device *holtekff, | |||
100 | holtekff->field->value[i] = data[i]; | 100 | holtekff->field->value[i] = data[i]; |
101 | } | 101 | } |
102 | 102 | ||
103 | dbg_hid("sending %02x %02x %02x %02x %02x %02x %02x\n", data[0], | 103 | dbg_hid("sending %*ph\n", 7, data); |
104 | data[1], data[2], data[3], data[4], data[5], data[6]); | ||
105 | 104 | ||
106 | usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT); | 105 | usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT); |
107 | } | 106 | } |