git: acpica: Some cleanups to acpi_hpet.c

Aaron LI aly at crater.dragonflybsd.org
Tue Aug 26 16:24:54 PDT 2025


commit 987b4e008d82bb9f8e834f026365f78f6de17e5f
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Aug 27 06:16:18 2025 +0800

    acpica: Some cleanups to acpi_hpet.c
    
    Similar to the cleanups to acpi_timer.c, simplify the if-else
    conditional in *_get_timecount() functions, define the ACPI_HPET_MASK
    and ACPI_HPET_HIBITS constants.
    
    Meanwhile, adjust the return type of 'acpi_hpet_read()' to uint32_t for
    consistency.

Summary of changes:
 sys/dev/acpica/acpi_hpet.c | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/987b4e008d82bb9f8e834f026365f78f6de17e5f


-- 
DragonFly BSD source repository


More information about the Commits mailing list