HID: wacom: generic: Don't return a value for wacom_wac_event
Subsystems (2)
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.
Signed-off-by Ping Cheng <[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
2.7.4