aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-06-06 23:54:16 +0300
committerRafael J. Wysocki <[email protected]>2024-06-13 21:23:05 +0200
commitf42cfd5ceced62799a7dd82899b03d7b9575fc22 (patch)
tree646c366f6d9cc2de544d0b01e1ff553f134e5faa /scripts/rustdoc_test_builder.rs
parent1dd804af345a126594a8b8e80510590b5775073b (diff)
ACPI: PMIC: Replace open coded be16_to_cpu()
It's easier to understand the nature of a data type when it's written explicitly. With that, replace open coded endianess conversion. As a side effect it fixes the returned value of intel_crc_pmic_update_aux() since ACPI PMIC core code expects negative or zero and never uses positive one. While at it, use macros from bits.h to reduce a room for mistake. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions