diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-05-27 11:36:52 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-05-29 10:34:08 +0000 |
commit | 08375b508222d4cdc85b01497322ffbac40f5a69 (patch) | |
tree | c7cbf2a17d9049844f378e74530061ae8897fd91 /src/drivers | |
parent | bdd03c20d5b1cd7ca17e2559a44ddcf1da06f3be (diff) | |
download | coreboot-08375b508222d4cdc85b01497322ffbac40f5a69.tar.gz coreboot-08375b508222d4cdc85b01497322ffbac40f5a69.tar.bz2 coreboot-08375b508222d4cdc85b01497322ffbac40f5a69.zip |
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')
-rw-r--r-- | src/drivers/acpi/thermal_zone/thermal_zone.c | 1 | ||||
-rw-r--r-- | src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c | 2 | ||||
-rw-r--r-- | src/drivers/generic/gpio_keys/gpio_keys.c | 1 | ||||
-rw-r--r-- | src/drivers/i2c/generic/generic.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/gpiomux/bus/bus.c | 1 | ||||
-rw-r--r-- | src/drivers/i2c/gpiomux/mux/mux.c | 1 | ||||
-rw-r--r-- | src/drivers/i2c/hid/hid.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/sx9310/sx9310.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/sx9324/sx9324.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/sx9360/sx9360.c | 2 | ||||
-rw-r--r-- | src/drivers/intel/gma/acpi.c | 2 | ||||
-rw-r--r-- | src/drivers/intel/usb4/retimer/retimer.c | 2 | ||||
-rw-r--r-- | src/drivers/nxp/uwb/uwb.c | 2 | ||||
-rw-r--r-- | src/drivers/spi/acpi/acpi.c | 2 | ||||
-rw-r--r-- | src/drivers/uart/acpi/acpi.c | 2 |
15 files changed, 11 insertions, 15 deletions
diff --git a/src/drivers/acpi/thermal_zone/thermal_zone.c b/src/drivers/acpi/thermal_zone/thermal_zone.c index b1016cd661f3..e491f751ff43 100644 --- a/src/drivers/acpi/thermal_zone/thermal_zone.c +++ b/src/drivers/acpi/thermal_zone/thermal_zone.c @@ -7,7 +7,6 @@ #include <device/device.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #include "chip.h" diff --git a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c index 28377a17ccc9..5f43e4f51594 100644 --- a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c +++ b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c @@ -4,7 +4,7 @@ #include <acpi/acpigen.h> #include <device/device.h> #include <stdio.h> -#include <string.h> + #include "chip.h" #include <console/console.h> diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c index 97a4e05faddf..f5df0c45bce6 100644 --- a/src/drivers/generic/gpio_keys/gpio_keys.c +++ b/src/drivers/generic/gpio_keys/gpio_keys.c @@ -4,7 +4,6 @@ #include <acpi/acpigen.h> #include <device/device.h> #include <stdio.h> -#include <string.h> #include "chip.h" diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c index a3d8ef257ee5..98c59e6a05e4 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 8efcf217fd7d..2e2d6858d260 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 a7dcd64f6df7..1e1ea45c74f4 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 06b31d129d53..c91b04a922ff 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 a4bdb153dc10..19eda301ee8c 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 041991eb4a3e..f2753ea52441 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 d72f28db6fa6..63180c7dc10f 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" diff --git a/src/drivers/intel/gma/acpi.c b/src/drivers/intel/gma/acpi.c index 534c0d8e108b..9211100bc4c2 100644 --- a/src/drivers/intel/gma/acpi.c +++ b/src/drivers/intel/gma/acpi.c @@ -2,7 +2,7 @@ #include <acpi/acpigen.h> #include <stdio.h> -#include <string.h> + #include "i915.h" void diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c index 3c867d479bc3..3769fc9193f1 100644 --- a/src/drivers/intel/usb4/retimer/retimer.c +++ b/src/drivers/intel/usb4/retimer/retimer.c @@ -8,7 +8,7 @@ #include <drivers/usb/acpi/chip.h> #include <gpio.h> #include <stdio.h> -#include <string.h> + #include "chip.h" #include "retimer.h" diff --git a/src/drivers/nxp/uwb/uwb.c b/src/drivers/nxp/uwb/uwb.c index 3c4fac13ffa3..8a451c4103d3 100644 --- a/src/drivers/nxp/uwb/uwb.c +++ b/src/drivers/nxp/uwb/uwb.c @@ -7,7 +7,7 @@ #include <device/spi.h> #include <spi-generic.h> #include <stdio.h> -#include <string.h> + #include "chip.h" static int spi_acpi_get_bus(const struct device *dev) diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c index 75d6dc98dcb5..6d927766833e 100644 --- a/src/drivers/spi/acpi/acpi.c +++ b/src/drivers/spi/acpi/acpi.c @@ -7,7 +7,7 @@ #include <device/spi.h> #include <spi-generic.h> #include <stdio.h> -#include <string.h> + #include "chip.h" static int spi_acpi_get_bus(const struct device *dev) diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c index 716d522285f2..bfa50c6ccfb1 100644 --- a/src/drivers/uart/acpi/acpi.c +++ b/src/drivers/uart/acpi/acpi.c @@ -4,7 +4,7 @@ #include <acpi/acpigen.h> #include <console/console.h> #include <stdio.h> -#include <string.h> + #include "chip.h" static bool uart_acpi_add_gpios_to_crs(struct drivers_uart_acpi_config *config) |