diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-11-30 17:13:49 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-12-02 21:44:51 +0100 |
commit | a8a09c8597bd301437c30ce0a4b2f511349a90aa (patch) | |
tree | 2198bd8c74b84615b52c865f93a4be112b1a94fe /drivers/clocksource | |
parent | 16e0a6a0d27f01c47e3685a2a5e6dd2a5b0a525f (diff) |
HID: wacom: Replace magic masks and comparisons with switch cases
Reasoning through the conditions under which a particular block of code
in 'wacom_intuos_general' will be reached is not at all easy due to the
sheer number of magic masks and comparisons. Remove these and replace
them with a switch statement over the various 'types' of packets that
will be encountered.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions