HID: wacom: generic: Don't return a value for wacom_wac_event
Subsystems (2)
PATCH v2 1/4 HID: wacom: generic: Don't return a value for wacom_wac_event
From: Ping Cheng <[email protected]>
It is unnecessary to return a value since nothing is expecting a value from it.
Signed-off-by Ping Cheng <[email protected]>
Reviewed-by Jason Gerecke <[email protected]>
--- drivers/hid/wacom.h | 2 +- drivers/hid/wacom_wac.c | 62 +++++++++++++++++++++---------------------------- 2 files changed, 28 insertions(+), 36 deletions(-)
drivers/hid/wacom.h +1 -1
@@ -210,7 +210,7 @@ int wacom_setup_pad_input_capabilities(struct input_dev *input_dev, struct wacom_wac *wacom_wac);void wacom_wac_usage_mapping (struct hid_device *hdev,struct hid_field *field,struct hid_usage *usage); -int wacom_wac_event (struct hid_device *hdev,struct hid_field *field, +void wacom_wac_event (struct hid_device *hdev,struct hid_field *field,struct hid_usage *usage,__s32 value);void wacom_wac_report (struct hid_device *hdev,struct hid_report *report);void wacom_battery_work (struct work_struct *work);
drivers/hid/wacom_wac.c +27 -35
190 lines not on this page · raw message
Signature · 1 line
1.8.3.1
Jiri Kosina
maintainerQuoted 7 lines · Ping Cheng
From: Ping Cheng <[email protected]>
It is unnecessary to return a value since nothing is expecting a value from it.
Signed-off-by Ping Cheng <[email protected]>Reviewed-by Jason Gerecke <[email protected]>
I have applied the series to for-4.1/wacom/generic, but please in the future try to invest more time into patch changelogs; they seem to have declining tendency in quality and details provided.
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs