summaryrefslogtreecommitdiff
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-10-11 00:02:46 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-29 14:04:32 +0100
commit2249b9ec42328bca3a3cd01a69c21cd83627964a (patch)
tree8d1297968b08f497d4dd383524f8addbd89bf973 /Documentation/core-api
parent519dfb671b5d3ee8d26fbed703f2bd96310f3b18 (diff)
downloadlinux-2249b9ec42328bca3a3cd01a69c21cd83627964a.tar.gz
linux-2249b9ec42328bca3a3cd01a69c21cd83627964a.tar.bz2
linux-2249b9ec42328bca3a3cd01a69c21cd83627964a.zip
Documentation: Replace del_timer/del_timer_sync()
[ Upstream commit 87bdd932e85881895d4720255b40ac28749c4e32 ] 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 Signed-off-by: Jeongjun Park <aha310510@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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);