Skip to content

Commit

Permalink
HID: holtekff: use %*ph to dump small buffers
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Andy Shevchenko authored and Jiri Kosina committed Sep 10, 2012
1 parent 8b61513 commit e2e78e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/hid/hid-holtekff.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ static void holtekff_send(struct holtekff_device *holtekff,
holtekff->field->value[i] = data[i];
}

dbg_hid("sending %02x %02x %02x %02x %02x %02x %02x\n", data[0],
data[1], data[2], data[3], data[4], data[5], data[6]);
dbg_hid("sending %*ph\n", 7, data);

usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT);
}
Expand Down

0 comments on commit e2e78e7

Please sign in to comment.