clocksource/drivers/imx-gpt: Use only a single name for functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 28 Mar 2023 09:15:14 +0000 (11:15 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 19 Jun 2023 15:31:56 +0000 (17:31 +0200)
commit95aded1b1c409fb2e902c6bd455068700ac38878
tree56a5d1439cb403c650753091002b1beab23bd8f3
parente738521a11f13e40af89f66527e59306c4169782
clocksource/drivers/imx-gpt: Use only a single name for functions

When looking at the data structs defining the different behaviours of
the GPT blocks in different SoCs it's not helpful that the same
functions are used with different names.

So drop the cpp defines and use the original names.

This commit was generated using:

perl -i -e 'my %m; while (<>) { if (/^#define (imx[a-zA-Z0-6_]*)\s(imx[a-zA-Z0-6_]*)/) {$m{$1} = $2; } else { foreach my $f (keys %m) {s/$f/$m{$f}/; } print; } }' drivers/clocksource/timer-imx-gpt.c

This patch has no effect on the generated code.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230328091514.874724-1-u.kleine-koenig@pengutronix.de
drivers/clocksource/timer-imx-gpt.c