mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
treewide: Switch/rename to timer_delete[_sync]()
timer_delete[_sync]() replaces del_timer[_sync](). Convert the whole tree over and remove the historical wrapper inlines. Conversion was done with coccinelle plus manual fixups where necessary. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
committed by
Ingo Molnar
parent
a8662bcd2f
commit
8fa7292fee
@@ -163,7 +163,7 @@ void intel_wakeref_auto(struct intel_wakeref_auto *wf, unsigned long timeout)
|
||||
unsigned long flags;
|
||||
|
||||
if (!timeout) {
|
||||
if (del_timer_sync(&wf->timer))
|
||||
if (timer_delete_sync(&wf->timer))
|
||||
wakeref_auto_timeout(&wf->timer);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user