OSDN Git Service

timers: Update the documentation to reflect on the new timer_shutdown() API
[tomoyo/tomoyo-test1.git] / Documentation / core-api / local_ops.rst
index a84f8b0..0b42cea 100644 (file)
@@ -191,7 +191,7 @@ Here is a sample module which implements a basic per cpu counter using
 
     static void __exit test_exit(void)
     {
-            timer_delete_sync(&test_timer);
+            timer_shutdown_sync(&test_timer);
     }
 
     module_init(test_init);