can: flexcan: factor out enabling and disabling of interrupts into separate function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 19 Nov 2020 10:09:13 +0000 (11:09 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Nov 2020 11:06:46 +0000 (12:06 +0100)
commit1c5e6dbe4c4f83bb44735656f52a501ebbe3281a
tree642a8dc4243468aae7be18f61bffa81d84489dc4
parent1457998a6d3a507d6e213623f915c919297c37b1
can: flexcan: factor out enabling and disabling of interrupts into separate function

The upcoming patches are going to move the enabling and disabling of the
interrupts. Introduce convenience functions to make these patches simpler.

Link: https://lore.kernel.org/r/20201119100917.3013281-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c