]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ieee802154: at86rf230: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:43:33 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:35:46 +0000 (10:35 +0100)
commitdbf13c4278a5673d8fb6ba87ea81c92b886b3aca
treebd621f10599281a7aad3b993a16256b220b51fa0
parent7b63b1dc473e5ad3c4c0f404d198e0c18dcbfa64
net: ieee802154: at86rf230: Switch to use hrtimer_setup()

hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.

Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/9f701c1b64e248539772aee62e130a7e50bbf1b0.1738746872.git.namcao@linutronix.de
drivers/net/ieee802154/at86rf230.c