]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251xfd: move ring init into separate function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 May 2021 17:58:06 +0000 (19:58 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 8 Jan 2022 19:17:42 +0000 (20:17 +0100)
commit46bbd6f0faec63d1ba17ea79c1933b82ed4818d0
treee52da6ad790a1cb602e56a66c18aae1d5405da85
parent265213a68c7b393c307926a62dc998b3bd34221c
can: mcp251xfd: move ring init into separate function

This patch moves the ring initialization from the mcp251xfd core file
into a separate one to make the driver a bit more orderly.

Link: https://lore.kernel.org/all/20220105154300.1258636-13-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/Makefile
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c [new file with mode: 0644]
drivers/net/can/spi/mcp251xfd/mcp251xfd.h