* [PATCH] hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
@ 2023-04-23 8:10 Christophe JAILLET
2023-04-23 15:22 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2023-04-23 8:10 UTC (permalink / raw)
To: Charles Keepax, Richard Fitzgerald, Jean Delvare, Guenter Roeck
Cc: linux-kernel, kernel-janitors, Christophe JAILLET, patches, linux-hwmon
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/hwmon/lochnagar-hwmon.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwmon/lochnagar-hwmon.c b/drivers/hwmon/lochnagar-hwmon.c
index 9948e2f7208d..6350904a8a8b 100644
--- a/drivers/hwmon/lochnagar-hwmon.c
+++ b/drivers/hwmon/lochnagar-hwmon.c
@@ -11,7 +11,6 @@
#include <linux/delay.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
-#include <linux/i2c.h>
#include <linux/math64.h>
#include <linux/mfd/lochnagar.h>
#include <linux/mfd/lochnagar2_regs.h>
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
2023-04-23 8:10 [PATCH] hwmon: lochnagar: Remove the unneeded include <linux/i2c.h> Christophe JAILLET
@ 2023-04-23 15:22 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2023-04-23 15:22 UTC (permalink / raw)
To: Christophe JAILLET
Cc: Charles Keepax, Richard Fitzgerald, Jean Delvare, linux-kernel,
kernel-janitors, patches, linux-hwmon
On Sun, Apr 23, 2023 at 10:10:07AM +0200, 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>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-23 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-23 8:10 [PATCH] hwmon: lochnagar: Remove the unneeded include <linux/i2c.h> Christophe JAILLET
2023-04-23 15:22 ` Guenter Roeck
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).