]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: amba-pl011: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:45:57 +0000 (11:45 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 10:19:02 +0000 (11:19 +0100)
commitc5f0fa1622f6fec7c461f2fe5b5d62229b4ae785
treeacd80bbde62e99bb637cddfb12f4d7f23d8a817b
parent6bf9bb76b3af17f1fbfe76e8d70528e939511801
serial: amba-pl011: 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/78e8c0d1b38998eab983fad265751ed13c2b9009.1738746904.git.namcao@linutronix.de
drivers/tty/serial/amba-pl011.c