HID: uclogic: Split pen and frame raw event handling
authorNikolai Kondrashov <spbnick@gmail.com>
Thu, 10 Feb 2022 19:04:34 +0000 (20:04 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Feb 2022 15:41:54 +0000 (16:41 +0100)
commit7e418667f2ed035445f8631b451e41d4ec13533c
treef660e5487986570bb3e87108102d3e31505cce5b
parent5591403cd67c28f3c49d76d7f43170de1b950d57
HID: uclogic: Split pen and frame raw event handling

In order to avoid ending up with  a big uclogic_raw_event function,
split it in two smaller functions: uclogic_raw_event_pen for the pen
events and uclogic_raw_event_frame for the pad events.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic-core.c