linux/drivers/net/can/spi/mcp251xfd
Nam Cao 881ec0c6db can: mcp251xfd: 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>
Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/all/af32e1b1814263485be17bca9707d555f857c53f.1738746872.git.namcao@linutronix.de
2025-02-18 10:35:45 +01:00
..
Kconfig
Makefile
mcp251xfd-chip-fifo.c
mcp251xfd-core.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mcp251xfd-crc16.c
mcp251xfd-dump.c can: mcp251xfd: properly indent labels 2024-06-28 23:48:11 +02:00
mcp251xfd-dump.h
mcp251xfd-ethtool.c
mcp251xfd-ram.c can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode 2024-08-06 09:52:00 +02:00
mcp251xfd-ram.h
mcp251xfd-regmap.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mcp251xfd-ring.c can: mcp251xfd: Switch to use hrtimer_setup() 2025-02-18 10:35:45 +01:00
mcp251xfd-rx.c can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd 2024-06-28 23:48:12 +02:00
mcp251xfd-tef.c can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6. 2024-11-26 11:42:32 +01:00
mcp251xfd-timestamp.c can: mcp251xfd: clarify the meaning of timestamp 2024-06-28 23:48:11 +02:00
mcp251xfd-tx.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mcp251xfd.h can: mcp251xfd: tef: prepare to workaround broken TEF FIFO tail index erratum 2024-06-28 23:48:12 +02:00