Skip to contentSkip to conversation

HID: wacom: generic: Don't return a value for wacom_wac_event

PATCH In review Ping Cheng 2 participants 2 messages Dec 9, 2016

Subsystems (2)
lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

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.

---
 drivers/hid/wacom.h     |  2 +-
 drivers/hid/wacom_wac.c | 62 +++++++++++++++++++++----------------------------
 2 files changed, 28 insertions(+), 36 deletions(-)
drivers/hid/wacom.h +1 -1
index b4800ea..d303e41 100644
@@ -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
maintainer
#1 lore raw
Quoted 7 lines · Ping Cheng

From: Ping Cheng <[email protected]>

It is unnecessary to return a value since nothing is expecting a value from it.

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