]> git.ipfire.org Git - thirdparty/linux.git/commit
can: m_can: hrtimer_callback(): rename to m_can_polling_timer()
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 7 Aug 2025 18:14:55 +0000 (20:14 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 17 Oct 2025 13:16:51 +0000 (15:16 +0200)
commit60af9dbb63fb077cc71496cf5ada82261be0bb25
treed27f158923d0fff915330793d34910624f0dc18c
parentc6dcc2b321cccf1fc2a18480bb547956fdb2b2e0
can: m_can: hrtimer_callback(): rename to m_can_polling_timer()

The original use of struct m_can_classdev::hrtimer was to support polling
for devices without IRQ, with the timer function called hrtimer_callback().

Commit 07f25091ca02 ("can: m_can: Implement receive coalescing") uses the
hrtimer for software-supported IRQ coalescence, with the timer function
called m_can_coalescing_timer().

To improve the readability of the driver, rename hrtimer_callback() to
m_can_polling_timer(), which better describes the functionality.

Link: https://patch.msgid.link/20251008-m_can-cleanups-v1-2-1784a18eaa84@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c