aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-holtekff.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-08-02 07:08:00 -0400
committerJiri Kosina <jkosina@suse.cz>2013-08-05 05:29:57 -0400
commit9854a6f929956c9099dcc837157fd344f6f1c227 (patch)
tree0e91010efb7d474520c3d046b92c0f3de49ccf7f /drivers/hid/hid-holtekff.c
parent4858bfe07388afaccce0a66683df2b55d578f0a9 (diff)
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-holtekff.c')
-rw-r--r--drivers/hid/hid-holtekff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-holtekff.c b/drivers/hid/hid-holtekff.c
index 9a8f05124525..9325545fc3ae 100644
--- a/drivers/hid/hid-holtekff.c
+++ b/drivers/hid/hid-holtekff.c
@@ -98,7 +98,7 @@ static void holtekff_send(struct holtekff_device *holtekff,
98 holtekff->field->value[i] = data[i]; 98 holtekff->field->value[i] = data[i];
99 } 99 }
100 100
101 dbg_hid("sending %*ph\n", 7, data); 101 dbg_hid("sending %7ph\n", data);
102 102
103 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); 103 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT);
104} 104}