2021-03-23 02:12:24

by Jiabing Wan

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

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

Signed-off-by: Wan Jiabing <[email protected]>
---
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


2021-03-23 07:33:37

by Marc Kleine-Budde

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

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 |


Attachments:
(No filename) (462.00 B)
signature.asc (499.00 B)
Download all attachments