Skip to content

Commit

Permalink
Merge branch 'for-6.9/wacom' into for-linus
Browse files Browse the repository at this point in the history
- small cleanup of struct->wacom_wac usage (Tatsunosuke Tobita)
  • Loading branch information
Jiri Kosina committed Mar 13, 2024
2 parents 8c9089e + 1b8da9d commit 0db18cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/hid/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2990,11 +2990,11 @@ void wacom_wac_report(struct hid_device *hdev, struct hid_report *report)

wacom_wac_battery_pre_report(hdev, report);

if (pad_in_hid_field && wacom->wacom_wac.pad_input)
if (pad_in_hid_field && wacom_wac->pad_input)
wacom_wac_pad_pre_report(hdev, report);
if (pen_in_hid_field && wacom->wacom_wac.pen_input)
if (pen_in_hid_field && wacom_wac->pen_input)
wacom_wac_pen_pre_report(hdev, report);
if (finger_in_hid_field && wacom->wacom_wac.touch_input)
if (finger_in_hid_field && wacom_wac->touch_input)
wacom_wac_finger_pre_report(hdev, report);

for (r = 0; r < report->maxfield; r++) {
Expand All @@ -3010,7 +3010,7 @@ void wacom_wac_report(struct hid_device *hdev, struct hid_report *report)

wacom_wac_battery_report(hdev, report);

if (true_pad && wacom->wacom_wac.pad_input)
if (true_pad && wacom_wac->pad_input)
wacom_wac_pad_report(hdev, report, field);
}

Expand Down

0 comments on commit 0db18cd

Please sign in to comment.