timekeeping/ntp: Constify some function arguments
authorOndrej Mosnacek <omosnace@redhat.com>
Fri, 13 Jul 2018 12:06:42 +0000 (14:06 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 20 Jul 2018 00:08:05 +0000 (17:08 -0700)
commit985e695074d35768cb04d65f58bca45f7bf1a99d
tree3d473a4a36fe660fd64cdabde116d57ff8434574
parent86b2dcd4f02b86f6b5927fc0adcac777825f4030
timekeeping/ntp: Constify some function arguments

Add 'const' to some function arguments and variables to make it easier
to read the code.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
[jstultz: Also fixup pre-existing checkpatch warnings for
 prototype arguments with no variable name]
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/timekeeping.h
kernel/time/ntp.c
kernel/time/ntp_internal.h
kernel/time/timekeeping.c
kernel/time/timekeeping_debug.c
kernel/time/timekeeping_internal.h