projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93822f5
)
hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sun, 23 Apr 2023 08:10:07 +0000
(10:10 +0200)
committer
Guenter 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
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lochnagar-hwmon.c
b/drivers/hwmon/lochnagar-hwmon.c
index 9948e2f7208db2e98afd8d804af50f3cb1d313f0..6350904a8a8b4603ef213876ea057f1f7a282b2f 100644
(file)
--- 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>