aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-07-23 13:25:31 -0700
committerGuenter Roeck <linux@roeck-us.net>2024-08-30 08:34:23 -0700
commit232177a37b90d76d3616f28fb47636d81c02fe8b (patch)
tree0736f7134823e4410881029c617ae2fd79b0af86 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent61a4a8414e1c6331a5a2fcfd235e6252c985f9d7 (diff)
hwmon: (ina2xx) Use bit operations
Use bit operations where possible to make the code more generic and to align it with other drivers. Also use compile time conversion from bit to mask to reduce runtime overhead. Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions