]> git.ipfire.org Git - thirdparty/linux.git/commit
can: m_can: use us_to_ktime() where appropriate
authorXichao Zhao <zhao.xichao@vivo.com>
Mon, 25 Aug 2025 09:09:04 +0000 (17:09 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 13 Sep 2025 17:04:37 +0000 (19:04 +0200)
commit646cb48d447728f51957a96a70f919ee1b0fad07
treec1f13494ecb0aad4a07a470492a2e4c5505b35e6
parentfc006f5478fcf07d79b35e9dcdc51ecd11a6bf82
can: m_can: use us_to_ktime() where appropriate

The tx_coalesce_usecs_irq are more suitable for using the
us_to_ktime(). This can make the code more concise and
enhance readability.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Vincent Mailhol <mailhol@kernel.org>
Link: https://patch.msgid.link/20250825090904.248927-1-zhao.xichao@vivo.com
[mkl: remove not needed line break]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c