aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-01-27 21:37:26 +0100
committerHans de Goede <[email protected]>2023-02-03 10:22:34 +0100
commit9b1785a2e2af522c2a64034a8716b7d47375ffec (patch)
tree1ce335e39a76564ed513a5bf471fd6eedb02e28f /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentb6e10ff6c23deb7f01d342875f7a69bae067c3c8 (diff)
platform/x86: int3472/discrete: Refactor GPIO to sensor mapping
Add a helper function to map the type returned by the _DSM method to a function name + the default polarity for that function. And fold the INT3472_GPIO_TYPE_RESET and INT3472_GPIO_TYPE_POWERDOWN cases into a single generic case. This is a preparation patch for further GPIO mapping changes. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions