[PATCH] net: can: Remove duplicate include of regmap.h

Subsystems: can network drivers, mcan device driver, the rest

STALE1985d LANDED

Landed in mainline as 6c23fe67e8dc on 2021-03-30.

2 messages, 2 authors, 2021-03-23 · open the first message on its own page

[PATCH] net: can: Remove duplicate include of regmap.h

From: Wan Jiabing <hidden>
Date: 2021-03-23 02:11:38

linux/regmap.h has been included at line 13, so remove the 
duplicate one at line 14.

Signed-off-by: Wan Jiabing <redacted>
---
 drivers/net/can/m_can/tcan4x5x.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/can/m_can/tcan4x5x.h b/drivers/net/can/m_can/tcan4x5x.h
index c66da829b795..e62c030d3e1e 100644
--- a/drivers/net/can/m_can/tcan4x5x.h
+++ b/drivers/net/can/m_can/tcan4x5x.h
@@ -11,7 +11,6 @@
 
 #include <linux/gpio/consumer.h>
 #include <linux/regmap.h>
-#include <linux/regmap.h>
 #include <linux/regulator/consumer.h>
 #include <linux/spi/spi.h>
 
-- 
2.25.1

Re: [PATCH] net: can: Remove duplicate include of regmap.h

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2021-03-23 07:32:49

On 23.03.2021 10:10:25, Wan Jiabing wrote:
linux/regmap.h has been included at line 13, so remove the 
duplicate one at line 14.
applied to linux-can-next/testing.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help