aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2024-04-10 19:19:32 +0200
committerBenjamin Tissoires <[email protected]>2024-05-07 15:39:30 +0200
commite14d88d9b8dae40c6f612c6fc74b7d03d12f3c94 (patch)
tree4b1aee3772a51e4c922b1deb3f7176f48472c199 /tools/testing/selftests/bpf/progs/test_autoload.c
parente906463087cec0a179ddcafe08aeef5899af6b00 (diff)
selftests/hid: tablets: reduce the number of pen state
All the *_WITH*BUTTON states were almost identical except for the button itself. I need to add a new device with a third button, and adding a bunch of states is going to be quite cumbersome. So convert the `button` parameter of PenState as a boolean, and store which button is the target as an argument to all functions that need it. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Peter Hutterer <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions