[PATCH] misc: smpro-errmon: Remove the unneeded include <linux/i2c.h>

Christophe JAILLET posted 1 patch 2 years, 7 months ago
drivers/misc/smpro-errmon.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] misc: smpro-errmon: Remove the unneeded include <linux/i2c.h>
Posted by Christophe JAILLET 2 years, 7 months ago
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/misc/smpro-errmon.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/smpro-errmon.c b/drivers/misc/smpro-errmon.c
index a1f0b2c77fac..c12035a46585 100644
--- a/drivers/misc/smpro-errmon.c
+++ b/drivers/misc/smpro-errmon.c
@@ -6,7 +6,6 @@
  *
  */
 
-#include <linux/i2c.h>
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
-- 
2.34.1