HID: wacom: remove unnecessary 'connected' variable from EKR
authorAaron Armstrong Skomra <aaron.skomra@wacom.com>
Tue, 25 Jul 2023 22:20:57 +0000 (15:20 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Aug 2023 09:43:57 +0000 (11:43 +0200)
commit2834e38048f1ef9bd7473fbc33e8266ad7a24fcb
tree094e961649e380ef0f27b9b00f5ffc77946e75f6
parent9ac6678b95b0dd9458a7a6869f46e51cd55a1d84
HID: wacom: remove unnecessary 'connected' variable from EKR

The 'connected' variable was poorly named, and this has led to some
confusion. We can get the same information by checking if a serial number
exists in the specified EKR slot.

Signed-off-by: Aaron Skomra <skomra@gmail.com>
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h