[PATCH v2 04/11] clocksource/moxart: Generalise timer for use on other socs
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Apr 22 16:55:44 PDT 2016
On Fri, 2016-04-22 at 19:30 +0200, Daniel Lezcano wrote:
>
> You probably can remove all the unused macro definition here for
> both
> MOXART and ASPEED to have something just a couple of definition.
I disagree. Quite strongly in fact. These provide documentation (which
isn't otherwise publicly available) and this will be handy if somebody
wants to do something like add another timer etc.. in the future.
I much prefer when register definitions rather more exhaustive than
trimmed to be only what's used by the driver.
Cheers,
Ben
More information about the linux-arm-kernel
mailing list