summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-05-12 19:21:14 -0700
committerEric Biggers <ebiggers@google.com>2025-05-13 20:37:16 -0700
commit0769ebe279c0f07f5f01ef2dca9f425803039755 (patch)
tree4cb3abb952cb1652eec9dee6ad0c6d8810a081a1 /scripts/lib/kdoc/kdoc_files.py
parente8d72b766adcde14188e68968f3cd05f4321691d (diff)
w1: ds2406: use crc16() instead of crc16_byte() loop
Instead of looping through each byte and calling crc16_byte(), instead just call crc16() on the whole buffer. No functional change. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250513022115.39109-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions