treewide, timers: Rename from_timer() to timer_container_of()

Move this API to the canonical timer_*() namespace.

[ tglx: Redone against pre rc1 ]

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/aB2X0jCKQO56WdMt@gmail.com
This commit is contained in:
Ingo Molnar
2025-05-09 07:51:14 +02:00
committed by Thomas Gleixner
parent 8630c59e99
commit 41cb08555c
689 changed files with 1151 additions and 955 deletions

View File

@@ -3591,7 +3591,8 @@ int drbd_md_test_flag(struct drbd_backing_dev *bdev, int flag)
static void md_sync_timer_fn(struct timer_list *t)
{
struct drbd_device *device = from_timer(device, t, md_sync_timer);
struct drbd_device *device = timer_container_of(device, t,
md_sync_timer);
drbd_device_post_work(device, MD_SYNC);
}