]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/ap_bus: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:38:56 +0000 (11:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:32:32 +0000 (10:32 +0100)
commit99fb79f6d6de533d92dc11d53b0a058ac3de8cbc
tree6059e39a92937e51ad4bde98b09eb7933a1c91a9
parentc56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27
s390/ap_bus: 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.

Patch was created by using Coccinelle.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/d8a3919c09caa671e64d9f9bbf726aa8a885a844.1738746821.git.namcao@linutronix.de
drivers/s390/crypto/ap_bus.c