mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
HID: hid-holtekff: don't push static constants on stack for %*ph
There is no need to pass constants via stack. The width may be explicitly specified in the format. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
4858bfe073
commit
9854a6f929
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ static void holtekff_send(struct holtekff_device *holtekff,
|
|||
holtekff->field->value[i] = data[i];
|
||||
}
|
||||
|
||||
dbg_hid("sending %*ph\n", 7, data);
|
||||
dbg_hid("sending %7ph\n", data);
|
||||
|
||||
hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue