diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 13:43:37 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 12:35:46 +0300 |
commit | e193660f5e7feabc461142a96c3237d7618dfeb3 (patch) | |
tree | 84406beaca07619c45ce2cd9899339a5a42c935d /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 78afb7fa96ed9742c09a033782f50908c3d8e3cf (diff) | |
download | linux-e193660f5e7feabc461142a96c3237d7618dfeb3.tar.xz |
net: fec: 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/c68759ce7879a41d33d1d435c721f156cb1683c2.1738746872.git.namcao@linutronix.de
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions