]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Refactor touch input mute checks into a common function
authorJason Gerecke <killertofu@gmail.com>
Mon, 19 Jul 2021 20:55:33 +0000 (13:55 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 28 Jul 2021 09:45:41 +0000 (11:45 +0200)
commit6bd09ca9430288b0d0f7cf0acdcc56bc89fd5803
tree8c4038130c10f35ab623ea445ba90a75e25d79f2
parent04df2d1fe12a7eb75416762cf16d0e896f135614
HID: wacom: Refactor touch input mute checks into a common function

We perform this same set of tests to see if touch input is muted in
several places. We might as well replace these independent copies with
an inline function.

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