RE: [PATCH 07/21] hpet: Switch to number_of_interrupts()

From: Thomas Gleixner
Date: Mon Oct 07 2024 - 11:27:37 EST


On Mon, Oct 07 2024 at 13:00, David Laight wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> In any case 'accessor functions' just move the global symbol from
> being a data symbol to a code symbol while obfuscating the
> code and making it harder to find where values are set and used.

That's nonsense. The accessor functions can be as easily grepped for as
the variable. So that's not making it harder at all, but it encapsulates
stuff better. That's the whole point of the exercise.

Thanks,

tglx