]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251xfd: mcp251xfd_chip_stop(): convert to a void function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 23 Oct 2020 06:41:25 +0000 (08:41 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Feb 2022 07:45:46 +0000 (08:45 +0100)
commit52285b68b004a49982967aa13c1d4f78da11904e
tree5f6323174b571245475e54775c86e91f2afe26ce
parent2d451deaeda7218fa137752ee3edb2da0362245a
can: mcp251xfd: mcp251xfd_chip_stop(): convert to a void function

The mcp251xfd_chip_stop() function tries the best to stop the chip and
put it into sleep mode. It continues, even if some intermediate steps
fail. As none of the callers use the return value, let this function
return void.

Link: https://lore.kernel.org/all/20220207131047.282110-6-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c