summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 20:16:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-13 08:48:17 +0000
commitf70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (patch)
tree1206eb6d21d7bb4efa8603512354f03ceea5f25d /src/drivers
parent4611ad8930f57aa0e394e476c613fae1a4931c13 (diff)
src: Remove unused '#include <stdint.h>'
unused includes of <stdin.h> found using following commande: diff <(git grep -l '#include <stdint.h>' -- src/) <(git grep -l 'int8_t\|uint8_t\|int16_t\|uint16_t\|int32_t\|uint32_t\|int64_t\| uint64_t\|intptr_t\|uintptr_t\|intmax_t\|uintmax_t\|s8\|u8\|s16\| u16\|s32\|u32\|s64\|u64\|INT8_MIN\|INT8_MAX\|UINT8_MAX\|INT16_MIN\ |INT16_MAX\|UINT16_MAX\|INT32_MIN\|INT32_MAX\|UINT32_MAX\|INT64_MIN\ |INT64_MAX\|UINT64_MAX\|INTMAX_MIN\|INTMAX_MAX\|UINTMAX_MAX' -- src/) |grep '<' |grep -v vendor |grep -vF '.h' Change-Id: Icb9b54c6abfb18d1e263665981968a4d7cccabeb Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41148 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/generic/adau7002/adau7002.c1
-rw-r--r--src/drivers/generic/generic/generic.c1
-rw-r--r--src/drivers/generic/max98357a/max98357a.c1
-rw-r--r--src/drivers/gfx/generic/generic.c1
-rw-r--r--src/drivers/i2c/da7219/da7219.c1
-rw-r--r--src/drivers/i2c/generic/generic.c1
-rw-r--r--src/drivers/i2c/hid/hid.c1
-rw-r--r--src/drivers/i2c/max98373/max98373.c1
-rw-r--r--src/drivers/i2c/max98927/max98927.c1
-rw-r--r--src/drivers/i2c/rt5663/rt5663.c1
-rw-r--r--src/drivers/i2c/sx9310/sx9310.c1
-rw-r--r--src/drivers/i2c/tpm/chip.c1
-rw-r--r--src/drivers/spi/acpi/acpi.c1
-rw-r--r--src/drivers/usb/acpi/usb_acpi.c1
14 files changed, 0 insertions, 14 deletions
diff --git a/src/drivers/generic/adau7002/adau7002.c b/src/drivers/generic/adau7002/adau7002.c
index b61b1a0b78..88ee34da7b 100644
--- a/src/drivers/generic/adau7002/adau7002.c
+++ b/src/drivers/generic/adau7002/adau7002.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
#if CONFIG(HAVE_ACPI_TABLES)
diff --git a/src/drivers/generic/generic/generic.c b/src/drivers/generic/generic/generic.c
index 0b6ae79420..a1f65995bf 100644
--- a/src/drivers/generic/generic/generic.c
+++ b/src/drivers/generic/generic/generic.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c
index 6a0fcf5046..bd45296bcd 100644
--- a/src/drivers/generic/max98357a/max98357a.c
+++ b/src/drivers/generic/max98357a/max98357a.c
@@ -6,7 +6,6 @@
#include <device/device.h>
#include <device/path.h>
#include <gpio.h>
-#include <stdint.h>
#include "chip.h"
#if CONFIG(HAVE_ACPI_TABLES)
diff --git a/src/drivers/gfx/generic/generic.c b/src/drivers/gfx/generic/generic.c
index 2c02106c35..546f30bead 100644
--- a/src/drivers/gfx/generic/generic.c
+++ b/src/drivers/gfx/generic/generic.c
@@ -5,7 +5,6 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <stdint.h>
#include "chip.h"
diff --git a/src/drivers/i2c/da7219/da7219.c b/src/drivers/i2c/da7219/da7219.c
index 11a7adad0f..1d98023ff5 100644
--- a/src/drivers/i2c/da7219/da7219.c
+++ b/src/drivers/i2c/da7219/da7219.c
@@ -7,7 +7,6 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 73b3aeae2f..5893a6fdad 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -7,7 +7,6 @@
#include <device/device.h>
#include <device/path.h>
#include <gpio.h>
-#include <stdint.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c
index 9c49b750b0..0755852d94 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -2,7 +2,6 @@
#include <acpi/acpigen_dsm.h>
#include <device/device.h>
-#include <stdint.h>
#include <string.h>
#include "chip.h"
#include <gpio.h>
diff --git a/src/drivers/i2c/max98373/max98373.c b/src/drivers/i2c/max98373/max98373.c
index bb8151829c..0557f421ca 100644
--- a/src/drivers/i2c/max98373/max98373.c
+++ b/src/drivers/i2c/max98373/max98373.c
@@ -7,7 +7,6 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
#define MAX98373_ACPI_NAME "MAXI"
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c
index ad6893f969..9429e4aa0d 100644
--- a/src/drivers/i2c/max98927/max98927.c
+++ b/src/drivers/i2c/max98927/max98927.c
@@ -7,7 +7,6 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
#define MAX98927_ACPI_NAME "MAXI"
diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c
index e1f665246e..da12a4d761 100644
--- a/src/drivers/i2c/rt5663/rt5663.c
+++ b/src/drivers/i2c/rt5663/rt5663.c
@@ -7,7 +7,6 @@
#include <device/i2c.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
#define RT5663_ACPI_NAME "RT53"
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c
index 38dedc8c66..c12e4ea524 100644
--- a/src/drivers/i2c/sx9310/sx9310.c
+++ b/src/drivers/i2c/sx9310/sx9310.c
@@ -6,7 +6,6 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/tpm/chip.c b/src/drivers/i2c/tpm/chip.c
index 4fd0f2bb3c..2baec423f1 100644
--- a/src/drivers/i2c/tpm/chip.c
+++ b/src/drivers/i2c/tpm/chip.c
@@ -6,7 +6,6 @@
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "tpm.h"
#include "chip.h"
diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c
index 8fb21d01f4..4127f9a93a 100644
--- a/src/drivers/spi/acpi/acpi.c
+++ b/src/drivers/spi/acpi/acpi.c
@@ -7,7 +7,6 @@
#include <device/path.h>
#include <device/spi.h>
#include <spi-generic.h>
-#include <stdint.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/usb/acpi/usb_acpi.c b/src/drivers/usb/acpi/usb_acpi.c
index 4059db7f48..e136df0b38 100644
--- a/src/drivers/usb/acpi/usb_acpi.c
+++ b/src/drivers/usb/acpi/usb_acpi.c
@@ -6,7 +6,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
-#include <stdint.h>
#include "chip.h"
static bool usb_acpi_add_gpios_to_crs(struct drivers_usb_acpi_config *cfg)