summaryrefslogtreecommitdiff
path: root/src/superio/smsc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 22:11:18 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-10-20 15:55:25 +0000
commit2329a2537deb8091b3def3ef7752582298039588 (patch)
tree4520f0398ca99d34378d7d249a89c6ab5bbf3432 /src/superio/smsc
parent6a0e5deb90f370b51cb2cbe275a98757fb1f0557 (diff)
superio: Use 'include <stdlib.h>' when appropriate
Change-Id: I55e7b680e128f29a9fd549edfb676e6571330677 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r--src/superio/smsc/fdc37n972/superio.c1
-rw-r--r--src/superio/smsc/kbc1100/superio.c2
-rw-r--r--src/superio/smsc/lpc47m10x/superio.c2
-rw-r--r--src/superio/smsc/lpc47m15x/superio.c2
-rw-r--r--src/superio/smsc/lpc47n207/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47n217/superio.c2
-rw-r--r--src/superio/smsc/lpc47n227/superio.c1
-rw-r--r--src/superio/smsc/mec1308/superio.c2
-rw-r--r--src/superio/smsc/sio1036/superio.c1
-rw-r--r--src/superio/smsc/sio10n268/superio.c2
-rw-r--r--src/superio/smsc/smscsuperio/superio.c1
11 files changed, 7 insertions, 11 deletions
diff --git a/src/superio/smsc/fdc37n972/superio.c b/src/superio/smsc/fdc37n972/superio.c
index 0ee9850c2e..3706dec762 100644
--- a/src/superio/smsc/fdc37n972/superio.c
+++ b/src/superio/smsc/fdc37n972/superio.c
@@ -17,7 +17,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include "fdc37n972.h"
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c
index cd621a4213..9de88e2733 100644
--- a/src/superio/smsc/kbc1100/superio.c
+++ b/src/superio/smsc/kbc1100/superio.c
@@ -19,7 +19,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "kbc1100.h"
/* Forward declarations */
diff --git a/src/superio/smsc/lpc47m10x/superio.c b/src/superio/smsc/lpc47m10x/superio.c
index 0cf8324c2c..a4e3799cd8 100644
--- a/src/superio/smsc/lpc47m10x/superio.c
+++ b/src/superio/smsc/lpc47m10x/superio.c
@@ -22,7 +22,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "lpc47m10x.h"
/**
diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c
index 7b7623f785..40eb7d25b1 100644
--- a/src/superio/smsc/lpc47m15x/superio.c
+++ b/src/superio/smsc/lpc47m15x/superio.c
@@ -19,7 +19,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "lpc47m15x.h"
/* Forward declarations */
diff --git a/src/superio/smsc/lpc47n207/early_serial.c b/src/superio/smsc/lpc47n207/early_serial.c
index b8e5c0b549..9bda334b84 100644
--- a/src/superio/smsc/lpc47n207/early_serial.c
+++ b/src/superio/smsc/lpc47n207/early_serial.c
@@ -16,7 +16,7 @@
#include <arch/io.h>
#include <device/pnp.h>
#include <stdint.h>
-#include <stdlib.h>
+
#include "lpc47n207.h"
/*
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index fe188af5b3..1b34bec27c 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -24,7 +24,7 @@
#include <device/pnp.h>
#include <console/console.h>
#include <assert.h>
-#include <stdlib.h>
+
#include "lpc47n217.h"
/* Forward declarations */
diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c
index 6fcf8e4371..57297aba5b 100644
--- a/src/superio/smsc/lpc47n227/superio.c
+++ b/src/superio/smsc/lpc47n227/superio.c
@@ -20,7 +20,6 @@
#include <device/pnp.h>
#include <console/console.h>
#include <assert.h>
-#include <stdlib.h>
#include <pc80/keyboard.h>
#include <superio/conf_mode.h>
diff --git a/src/superio/smsc/mec1308/superio.c b/src/superio/smsc/mec1308/superio.c
index 2cd9bd3835..106b8ad500 100644
--- a/src/superio/smsc/mec1308/superio.c
+++ b/src/superio/smsc/mec1308/superio.c
@@ -19,7 +19,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "mec1308.h"
static void mec1308_init(struct device *dev)
diff --git a/src/superio/smsc/sio1036/superio.c b/src/superio/smsc/sio1036/superio.c
index dc8a5515a5..c39d0970c6 100644
--- a/src/superio/smsc/sio1036/superio.c
+++ b/src/superio/smsc/sio1036/superio.c
@@ -18,7 +18,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <superio/conf_mode.h>
-#include <stdlib.h>
#include "sio1036.h"
diff --git a/src/superio/smsc/sio10n268/superio.c b/src/superio/smsc/sio10n268/superio.c
index b8243ece51..cf432a09b8 100644
--- a/src/superio/smsc/sio10n268/superio.c
+++ b/src/superio/smsc/sio10n268/superio.c
@@ -13,10 +13,10 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
+
#include "sio10n268.h"
static void init(struct device *dev)
diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c
index 4ce006dc34..aa5af38250 100644
--- a/src/superio/smsc/smscsuperio/superio.c
+++ b/src/superio/smsc/smscsuperio/superio.c
@@ -35,7 +35,6 @@
#include <superio/conf_mode.h>
#include <console/console.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
/* The following Super I/O chips are currently supported by this driver: */
#define LPC47M172 0x14