summaryrefslogtreecommitdiff
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-11-23 21:18:47 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-11-24 15:09:11 +0100
commit87bdd932e85881895d4720255b40ac28749c4e32 (patch)
treec90bd47e8f27be83ec3cd35fdb3cdd9d6d95d2cf /Documentation/core-api
parentbb663f0f3c396c6d05f6c5eeeea96ced20ff112e (diff)
Documentation: Replace del_timer/del_timer_sync()
Adjust to the new preferred function names. Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> 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.075320635@linutronix.de
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/local_ops.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/local_ops.rst b/Documentation/core-api/local_ops.rst
index 2ac3f9f29845..a84f8b0c7ab2 100644
--- a/Documentation/core-api/local_ops.rst
+++ b/Documentation/core-api/local_ops.rst
@@ -191,7 +191,7 @@ Here is a sample module which implements a basic per cpu counter using
static void __exit test_exit(void)
{
- del_timer_sync(&test_timer);
+ timer_delete_sync(&test_timer);
}
module_init(test_init);