]> git.baikalelectronics.ru Git - kernel.git/commit
can: spi: Kconfig: remove unneeded dependencies form Kconfig symbols
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Sep 2020 22:35:13 +0000 (00:35 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:18 +0000 (10:13 +0200)
commit3c7bc67b03f8af63e7773821bb79d17b2f47bfd6
treee239a82147ee08764b820c713b449cb2e96bb756
parent426cf75a3f953645150e43329bb9b433539ff142
can: spi: Kconfig: remove unneeded dependencies form Kconfig symbols

Since commits

    6491429d23f6 ("can: hi311x: remove custom DMA mapped buffer")
Fixes: da671f71677b ("can: mcp251x: remove custom DMA mapped buffer")
both the hi3111x and the mcp251x driver don't make use of the DMA API
any more. So we can safely remove the HAS_DMA dependency.

While we're here, remove the unneeded CAN_DEV and SPI dependencies from
the CAN_HI311X symbol, as the parent menus already have these
dependencies.

Link: https://lore.kernel.org/r/20200915223527.1417033-24-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/Kconfig