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

From: Christophe JAILLET
Date: Mon Apr 24 2023 - 03:01:02 EST


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@xxxxxxxxxx>
---
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