[PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h>

Christophe JAILLET posted 1 patch 2 years, 7 months ago
drivers/mfd/dln2.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h>
Posted by Christophe JAILLET 2 years, 7 months ago
This driver does not use i2c, so there is no point in including
<linux/i2c.h>

Remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/mfd/dln2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/dln2.c b/drivers/mfd/dln2.c
index c3149729cec2..c7510434380a 100644
--- a/drivers/mfd/dln2.c
+++ b/drivers/mfd/dln2.c
@@ -14,7 +14,6 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/usb.h>
-#include <linux/i2c.h>
 #include <linux/mutex.h>
 #include <linux/platform_device.h>
 #include <linux/mfd/core.h>
-- 
2.34.1
Re: [PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h>
Posted by Lee Jones 2 years, 7 months ago
On Mon, 24 Apr 2023, Christophe JAILLET wrote:

> This driver does not use i2c, so there is no point in including
> <linux/i2c.h>
> 
> Remove it.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>  drivers/mfd/dln2.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

-- 
Lee Jones [李琼斯]