diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-07-23 13:25:31 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-08-30 08:34:23 -0700 |
commit | 232177a37b90d76d3616f28fb47636d81c02fe8b (patch) | |
tree | 0736f7134823e4410881029c617ae2fd79b0af86 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 61a4a8414e1c6331a5a2fcfd235e6252c985f9d7 (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