clocksource: Use a plain u64 instead of cycle_t
There is no point in having an extra type for extra confusion. u64 is unambiguous. Conversion was done with the following coccinelle script: @rem@ @@ -typedef u64 cycle_t; @fix@ typedef cycle_t; @@ -cycle_t +u64 Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: John Stultz <john.stultz@linaro.org>
This commit is contained in:
@@ -307,7 +307,7 @@ static void samsung_clocksource_resume(struct clocksource *cs)
|
||||
samsung_time_start(pwm.source_id, true);
|
||||
}
|
||||
|
||||
static cycle_t notrace samsung_clocksource_read(struct clocksource *c)
|
||||
static u64 notrace samsung_clocksource_read(struct clocksource *c)
|
||||
{
|
||||
return ~readl_relaxed(pwm.source_reg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user