timers: Rename del_timer() to timer_delete()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Nov 2022 20:18:45 +0000 (21:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 14:09:11 +0000 (15:09 +0100)
commitbb663f0f3c396c6d05f6c5eeeea96ced20ff112e
treead4745d7312857b145eb78d8ae3ac5b63c31e2a7
parent9b13df3fb64ee95e2397585404e442afee2c7d4f
timers: Rename del_timer() to timer_delete()

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

Rename del_timer() to timer_delete() and provide del_timer()
as a wrapper. Document that del_timer() 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/20221123201625.015535022@linutronix.de
include/linux/timer.h
kernel/time/timer.c