]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251xfd: mcp251xfd_chip_sleep(): introduce function to bring chip into sleep...
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:42:22 +0000 (08:42 +0100)
commit2d451deaeda7218fa137752ee3edb2da0362245a
tree8e6e82361a7275df8252df819ea3fc1045a07371
parentcb0c9a6a1c2fcc9d67b4e3af4ff6a948ffd542db
can: mcp251xfd: mcp251xfd_chip_sleep(): introduce function to bring chip into sleep mode

This patch adds a new function to bring the chip into sleep mode, and
replaces several occurrences of open coded variants.

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