* [PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h>
@ 2023-04-24 6:48 Christophe JAILLET
2023-04-27 16:22 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2023-04-24 6:48 UTC (permalink / raw)
To: Lee Jones; +Cc: linux-kernel, kernel-janitors, Christophe JAILLET
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h>
2023-04-24 6:48 [PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h> Christophe JAILLET
@ 2023-04-27 16:22 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-04-27 16:22 UTC (permalink / raw)
To: Christophe JAILLET; +Cc: linux-kernel, kernel-janitors
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 [李琼斯]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-27 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 6:48 [PATCH] mfd: dln2: Remove the unneeded include <linux/i2c.h> Christophe JAILLET
2023-04-27 16:22 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).