Home
last modified time | relevance | path

Searched hist:"95 aded1b1c409fb2e902c6bd455068700ac38878" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clocksource/
H A Dtimer-imx-gpt.cdiff 95aded1b1c409fb2e902c6bd455068700ac38878 Tue Mar 28 11:15:14 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 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