git: acpica: Further clean up acpi_timer.c

Aaron LI aly at crater.dragonflybsd.org
Mon Aug 25 23:21:25 PDT 2025


commit 08999e67b693ca159b6bfe3d7f3097b9ea20f4a2
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Aug 26 13:57:40 2025 +0800

    acpica: Further clean up acpi_timer.c
    
    - Simplify the if-else conditional in acpi_timer_get_timecount*()
      functions.
    - Define constants for the hardcoded 24/32-bit masks.
    - Tweak whitespaces.

Summary of changes:
 sys/dev/acpica/acpi_timer.c | 85 +++++++++++++++++++++------------------------
 1 file changed, 39 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08999e67b693ca159b6bfe3d7f3097b9ea20f4a2


-- 
DragonFly BSD source repository


More information about the Commits mailing list