]> www.infradead.org Git - users/jedix/linux-maple.git/commit
can: m_can: Remove m_can_rx_peripheral indirection
authorMarkus Schneider-Pargmann <msp@baylibre.com>
Mon, 5 Aug 2024 18:30:43 +0000 (20:30 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 6 Aug 2024 07:25:30 +0000 (09:25 +0200)
commit40e4552eeef0e3090a5988de15889795936fd38f
treea519ac9e95f73d4907082e62ecc876a75d614bb9
parent6eff1cead75ff330bb33264424c1da6cc7179ab8
can: m_can: Remove m_can_rx_peripheral indirection

m_can_rx_peripheral() is a wrapper around m_can_rx_handler() that calls
m_can_disable_all_interrupts() on error. The same handling for the same
error path is done in m_can_isr() as well.

So remove m_can_rx_peripheral() and do the call from m_can_isr()
directly.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/all/20240805183047.305630-4-msp@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c