]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: wacom: generic: Use generic codepath terminology in wacom_wac_pen_report
authorJason Gerecke <killertofu@gmail.com>
Fri, 8 Sep 2017 00:48:55 +0000 (17:48 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 13 Sep 2017 17:18:01 +0000 (19:18 +0200)
commit7690dd18ddeda98521f4966e60e1a70b97316d11
treeb8443252b0b8e78f6a15fb9801105ff4b41a65f2
parent92380b572d95caf48f8424746aeee63c5a2b1922
HID: wacom: generic: Use generic codepath terminology in wacom_wac_pen_report

The terminology used to describe the various degrees of pen proximity
within the wacom_wac_pen_report function does not match that used elsewhere
in the generic codepath. Specifically, the names of the variables "prox"
and "range" were inspired by the non-generic codepaths. To make the generic
codepath internally consistent, replace these terms with "range" and "sense"
respectively.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c