hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 23 Apr 2023 08:10:07 +0000 (10:10 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 23 Apr 2023 15:22:28 +0000 (08:22 -0700)
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>
Link: https://lore.kernel.org/r/df555e724d1b52bd9958c0bd729a774dfe0cf150.1682237387.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lochnagar-hwmon.c

index 9948e2f..6350904 100644 (file)
@@ -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>