summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-27 11:36:52 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-05-29 10:34:08 +0000
commit08375b508222d4cdc85b01497322ffbac40f5a69 (patch)
treec7cbf2a17d9049844f378e74530061ae8897fd91 /src/drivers/i2c
parentbdd03c20d5b1cd7ca17e2559a44ddcf1da06f3be (diff)
tree: Remove unused <string.h>
Change-Id: I9ed1a82fcd3fc29124ddc406592bd45dc84d4628 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/generic/generic.c2
-rw-r--r--src/drivers/i2c/gpiomux/bus/bus.c1
-rw-r--r--src/drivers/i2c/gpiomux/mux/mux.c1
-rw-r--r--src/drivers/i2c/hid/hid.c2
-rw-r--r--src/drivers/i2c/sx9310/sx9310.c2
-rw-r--r--src/drivers/i2c/sx9324/sx9324.c2
-rw-r--r--src/drivers/i2c/sx9360/sx9360.c2
7 files changed, 5 insertions, 7 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index a3d8ef257e..98c59e6a05 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -8,7 +8,7 @@
#include <device/device.h>
#include <gpio.h>
#include <stdio.h>
-#include <string.h>
+
#include "chip.h"
#if CONFIG(HAVE_ACPI_TABLES)
diff --git a/src/drivers/i2c/gpiomux/bus/bus.c b/src/drivers/i2c/gpiomux/bus/bus.c
index 8efcf217fd..2e2d6858d2 100644
--- a/src/drivers/i2c/gpiomux/bus/bus.c
+++ b/src/drivers/i2c/gpiomux/bus/bus.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/gpiomux/mux/mux.c b/src/drivers/i2c/gpiomux/mux/mux.c
index a7dcd64f6d..1e1ea45c74 100644
--- a/src/drivers/i2c/gpiomux/mux/mux.c
+++ b/src/drivers/i2c/gpiomux/mux/mux.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c
index 06b31d129d..c91b04a922 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -5,7 +5,7 @@
#include <assert.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
+
#include "chip.h"
#include <gpio.h>
#include <console/console.h>
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c
index a4bdb153dc..19eda301ee 100644
--- a/src/drivers/i2c/sx9310/sx9310.c
+++ b/src/drivers/i2c/sx9310/sx9310.c
@@ -6,7 +6,7 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
+
#include "chip.h"
#define I2C_SX9310_ACPI_ID "STH9310"
diff --git a/src/drivers/i2c/sx9324/sx9324.c b/src/drivers/i2c/sx9324/sx9324.c
index 041991eb4a..f2753ea524 100644
--- a/src/drivers/i2c/sx9324/sx9324.c
+++ b/src/drivers/i2c/sx9324/sx9324.c
@@ -6,7 +6,7 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
+
#include "chip.h"
#define I2C_SX9324_ACPI_ID "STH9324"
diff --git a/src/drivers/i2c/sx9360/sx9360.c b/src/drivers/i2c/sx9360/sx9360.c
index d72f28db6f..63180c7dc1 100644
--- a/src/drivers/i2c/sx9360/sx9360.c
+++ b/src/drivers/i2c/sx9360/sx9360.c
@@ -6,7 +6,7 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <stdio.h>
-#include <string.h>
+
#include "chip.h"
#define I2C_SX9360_ACPI_ID "STH9360"