Skip to contentSkip to conversation

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

PATCH Superseded Ping Cheng 1 participant 1 message Dec 8, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

PATCH 1/4 HID: wacom: generic: Don't return a value for wacom_wac_event

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
2.7.4