summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-23 10:10:07 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-04-23 17:22:28 +0200
commit1c19ac768b8eeb0304c4ed7db66c2bb89c6ad226 (patch)
treed5a1a037366948eef210dfe7a306adacd3b7362f /drivers/hwmon
parenthwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E (diff)
downloadlinux-1c19ac768b8eeb0304c4ed7db66c2bb89c6ad226.tar.xz
linux-1c19ac768b8eeb0304c4ed7db66c2bb89c6ad226.zip
hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/lochnagar-hwmon.c1
1 files changed, 0 insertions, 1 deletions
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>