aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-07-27 14:48:11 -0400
committerIngo Molnar <mingo@kernel.org>2012-07-31 11:09:13 -0400
commitd4e3ab384b2343c7074f713ac330f839c38c52ee (patch)
treef5e387e160533e7bb6a7b6fb70b9564b7aa31283 /kernel
parent02ab20ae38337b99b5c29c81090f594b8fd61283 (diff)
time: Clean up stray newlines
Ingo noted inconsistent newline usage between functions. This patch cleans those up. Signed-off-by: John Stultz <john.stultz@linaro.org> Cc: Prarit Bhargava <prarit@redhat.com> Link: http://lkml.kernel.org/r/1343414893-45779-4-git-send-email-john.stultz@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/timekeeping.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index cf364db5589f..05b37a5ec7fb 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -239,7 +239,6 @@ static void timekeeping_update(struct timekeeper *tk, bool clearntp)
239 update_vsyscall(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult); 239 update_vsyscall(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult);
240} 240}
241 241
242
243/** 242/**
244 * timekeeping_forward_now - update clock to the current time 243 * timekeeping_forward_now - update clock to the current time
245 * 244 *
@@ -436,7 +435,6 @@ int do_settimeofday(const struct timespec *tv)
436} 435}
437EXPORT_SYMBOL(do_settimeofday); 436EXPORT_SYMBOL(do_settimeofday);
438 437
439
440/** 438/**
441 * timekeeping_inject_offset - Adds or subtracts from the current time. 439 * timekeeping_inject_offset - Adds or subtracts from the current time.
442 * @tv: pointer to the timespec variable containing the offset 440 * @tv: pointer to the timespec variable containing the offset
@@ -550,7 +548,6 @@ void getrawmonotonic(struct timespec *ts)
550} 548}
551EXPORT_SYMBOL(getrawmonotonic); 549EXPORT_SYMBOL(getrawmonotonic);
552 550
553
554/** 551/**
555 * timekeeping_valid_for_hres - Check if timekeeping is suitable for hres 552 * timekeeping_valid_for_hres - Check if timekeeping is suitable for hres
556 */ 553 */
@@ -683,7 +680,6 @@ static void __timekeeping_inject_sleeptime(struct timekeeper *tk,
683 update_sleep_time(timespec_add(tk->total_sleep_time, *delta)); 680 update_sleep_time(timespec_add(tk->total_sleep_time, *delta));
684} 681}
685 682
686
687/** 683/**
688 * timekeeping_inject_sleeptime - Adds suspend interval to timeekeeping values 684 * timekeeping_inject_sleeptime - Adds suspend interval to timeekeeping values
689 * @delta: pointer to a timespec delta value 685 * @delta: pointer to a timespec delta value
@@ -718,7 +714,6 @@ void timekeeping_inject_sleeptime(struct timespec *delta)
718 clock_was_set(); 714 clock_was_set();
719} 715}
720 716
721
722/** 717/**
723 * timekeeping_resume - Resumes the generic timekeeping subsystem. 718 * timekeeping_resume - Resumes the generic timekeeping subsystem.
724 * 719 *
@@ -1003,7 +998,6 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset)
1003 998
1004} 999}
1005 1000
1006
1007/** 1001/**
1008 * accumulate_nsecs_to_secs - Accumulates nsecs into secs 1002 * accumulate_nsecs_to_secs - Accumulates nsecs into secs
1009 * 1003 *
@@ -1032,7 +1026,6 @@ static inline void accumulate_nsecs_to_secs(struct timekeeper *tk)
1032 } 1026 }
1033} 1027}
1034 1028
1035
1036/** 1029/**
1037 * logarithmic_accumulation - shifted accumulation of cycles 1030 * logarithmic_accumulation - shifted accumulation of cycles
1038 * 1031 *
@@ -1076,7 +1069,6 @@ static cycle_t logarithmic_accumulation(struct timekeeper *tk, cycle_t offset,
1076 return offset; 1069 return offset;
1077} 1070}
1078 1071
1079
1080/** 1072/**
1081 * update_wall_time - Uses the current clocksource to increment the wall time 1073 * update_wall_time - Uses the current clocksource to increment the wall time
1082 * 1074 *
@@ -1177,7 +1169,6 @@ void getboottime(struct timespec *ts)
1177} 1169}
1178EXPORT_SYMBOL_GPL(getboottime); 1170EXPORT_SYMBOL_GPL(getboottime);
1179 1171
1180
1181/** 1172/**
1182 * get_monotonic_boottime - Returns monotonic time since boot 1173 * get_monotonic_boottime - Returns monotonic time since boot
1183 * @ts: pointer to the timespec to be set 1174 * @ts: pointer to the timespec to be set
@@ -1358,7 +1349,6 @@ ktime_t ktime_get_monotonic_offset(void)
1358} 1349}
1359EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset); 1350EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset);
1360 1351
1361
1362/** 1352/**
1363 * xtime_update() - advances the timekeeping infrastructure 1353 * xtime_update() - advances the timekeeping infrastructure
1364 * @ticks: number of ticks, that have elapsed since the last call. 1354 * @ticks: number of ticks, that have elapsed since the last call.