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>
diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c
index 9e15037..bd9900b 100644
--- a/src/superio/winbond/w83627dhg/superio.c
+++ b/src/superio/winbond/w83627dhg/superio.c
@@ -17,7 +17,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "w83627dhg.h"
static void w83627dhg_enable_UR2(struct device *dev)
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index 85e3250..da50173 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -24,7 +24,7 @@
#include <console/console.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
-#include <stdlib.h>
+
#include "w83627ehg.h"
static void enable_hwm_smbus(struct device *dev)
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index 54120fb..a4d734f 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -24,7 +24,7 @@
#include <console/console.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
-#include <stdlib.h>
+
#include "w83627hf.h"
static void enable_hwm_smbus(struct device *dev)
diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c
index 82974ba..e783740 100644
--- a/src/superio/winbond/w83627uhg/superio.c
+++ b/src/superio/winbond/w83627uhg/superio.c
@@ -18,8 +18,8 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <stdint.h>
-#include <stdlib.h>
#include <pc80/keyboard.h>
+
#include "w83627uhg.h"
/*
diff --git a/src/superio/winbond/w83667hg-a/superio.c b/src/superio/winbond/w83667hg-a/superio.c
index 0735f04..4a995d6 100644
--- a/src/superio/winbond/w83667hg-a/superio.c
+++ b/src/superio/winbond/w83667hg-a/superio.c
@@ -21,7 +21,6 @@
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
-#include <stdlib.h>
#include <arch/acpi.h>
#include <superio/conf_mode.h>
diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c
index b4f316b..b11e5be 100644
--- a/src/superio/winbond/w83977tf/superio.c
+++ b/src/superio/winbond/w83977tf/superio.c
@@ -20,7 +20,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "w83977tf.h"
static void w83977tf_init(struct device *dev)