timekeeping: Use proper clock specifier names in functions
This makes boot uniformly boottime and tai uniformly clocktai, to address the remaining oversights. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://lkml.kernel.org/r/20190621203249.3909-2-Jason@zx2c4.com
This commit is contained in:

committato da
Thomas Gleixner

parent
0354c1a3cd
commit
9285ec4c8b
@@ -231,9 +231,9 @@ s64 iio_get_time_ns(const struct iio_dev *indio_dev)
|
||||
ktime_get_coarse_ts64(&tp);
|
||||
return timespec64_to_ns(&tp);
|
||||
case CLOCK_BOOTTIME:
|
||||
return ktime_get_boot_ns();
|
||||
return ktime_get_boottime_ns();
|
||||
case CLOCK_TAI:
|
||||
return ktime_get_tai_ns();
|
||||
return ktime_get_clocktai_ns();
|
||||
default:
|
||||
BUG();
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user