]> git.baikalelectronics.ru Git - kernel.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)
commit36c095abfbb908842bfaf7bb2d76761693a85582
treeb8443252b0b8e78f6a15fb9801105ff4b41a65f2
parentd5fd6335b9c875abc36e811afad49133a65c8b3d
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