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

Message ID baf28e7f0fb57e918b76eaa92b94a2ae1a02cce0.1682318879.git.christophe.jaillet@wanadoo.fr
State New
Headers
Series mfd: dln2: Remove the unneeded include <linux/i2c.h> |

Commit Message

Christophe JAILLET April 24, 2023, 6:48 a.m. UTC
  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(-)
  

Comments

Lee Jones April 27, 2023, 4:22 p.m. UTC | #1
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
  

Patch

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>