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) |
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 b1016cd661..e491f751ff 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 28377a17cc..5f43e4f515 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 97a4e05fad..f5df0c45bc 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 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" diff --git a/src/drivers/intel/gma/acpi.c b/src/drivers/intel/gma/acpi.c index 534c0d8e10..9211100bc4 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 3c867d479b..3769fc9193 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 3c4fac13ff..8a451c4103 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 75d6dc98dc..6d92776683 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 716d522285..bfa50c6ccf 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) |