timers: Rename del_timer_sync() to timer_delete_sync()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Nov 2022 20:18:44 +0000 (21:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 14:09:11 +0000 (15:09 +0100)
commit9b13df3fb64ee95e2397585404e442afee2c7d4f
tree443749fab6bdaebf8f5c9510eae3543230ea0ffa
parent168f6b6ffbeec0b9333f3582e4cf637300858db5
timers: Rename del_timer_sync() to timer_delete_sync()

The timer related functions do not have a strict timer_ prefixed namespace
which is really annoying.

Rename del_timer_sync() to timer_delete_sync() and provide del_timer_sync()
as a wrapper. Document that del_timer_sync() is not for new code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Link: https://lore.kernel.org/r/20221123201624.954785441@linutronix.de
include/linux/timer.h
kernel/time/timer.c