diff options
author | 2025-02-05 11:45:52 +0100 | |
---|---|---|
committer | 2025-02-18 11:19:02 +0100 | |
commit | 060baec57cfea34b380618e68144c1605afdb500 (patch) | |
tree | 2796ce566bbeb70c4cb9c097f83ce0ab34917da1 /drivers/scsi/scsi_debug.c | |
parent | usb: fotg210-hcd: Switch to use hrtimer_setup() (diff) | |
download | wireguard-linux-060baec57cfea34b380618e68144c1605afdb500.tar.xz wireguard-linux-060baec57cfea34b380618e68144c1605afdb500.zip |
usb: gadget: 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>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/7239d6211ffb0dff6351d0549d065277f2562793.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions