aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2025-02-05 10:43:41 +0000
committerThomas Gleixner <[email protected]>2025-02-18 09:35:47 +0000
commit1528fd734e7b8fabea014234fc3f35d811f2f6f7 (patch)
tree2cce56a0cb2cbfb0d84e494619160099d401c408 /drivers/net/ethernet/intel/igc/igc_main.c
parentwifi: Switch to use hrtimer_setup() (diff)
downloadkernel-1528fd734e7b8fabea014234fc3f35d811f2f6f7.tar.gz
kernel-1528fd734e7b8fabea014234fc3f35d811f2f6f7.zip
wifi: rt2x00: Switch to use hrtimer_setup()
hrtimer_setup() takes the callback function pointer as argument and initializes the timer completely. This new function replaces hrtimer_init(). However, converting this driver is not obvious: the driver calls hrtimer_init() in rt2x00dev.c, then set the hrtimer's callback function in rt2800mmio.c and rt2800usb.c. Therefore, switching to the new function is not a simple one-for-one replacement. With the lack of hardware to verify any non-trivial changes, keep it simple and calls hrtimer_setup() with hrtimer_dummy_timeout() as callback function pointer. Signed-off-by: Nam Cao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/f086be77528edf0dfb455af4cb984b863084a455.1738746872.git.namcao@linutronix.de
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions