summaryrefslogtreecommitdiff
path: root/src/superio/smsc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-18 22:49:36 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-20 20:27:51 +0000
commita1e22b8192d5fc85995a41d0961c25293ba4391f (patch)
tree7b7dbc885d3ac99fe029cf0961eda1052e753dc1 /src/superio/smsc
parent0eb4db185cfef44ddfdbd91d4fe69a48c127fa84 (diff)
src: Use 'include <string.h>' when appropriate
Drop 'include <string.h>' when it is not used and add it when it is missing. Also extra lines removed, or added just before local includes. Change-Id: Iccac4dbaa2dd4144fc347af36ecfc9747da3de20 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31966 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r--src/superio/smsc/dme1737/superio.c1
-rw-r--r--src/superio/smsc/kbc1100/superio.c1
-rw-r--r--src/superio/smsc/lpc47b272/superio.c1
-rw-r--r--src/superio/smsc/lpc47b397/superio.c1
-rw-r--r--src/superio/smsc/lpc47m10x/superio.c1
-rw-r--r--src/superio/smsc/lpc47m15x/superio.c1
-rw-r--r--src/superio/smsc/lpc47n217/superio.c1
-rw-r--r--src/superio/smsc/lpc47n227/superio.c1
-rw-r--r--src/superio/smsc/mec1308/superio.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/src/superio/smsc/dme1737/superio.c b/src/superio/smsc/dme1737/superio.c
index 719444b177..0bfd3b811e 100644
--- a/src/superio/smsc/dme1737/superio.c
+++ b/src/superio/smsc/dme1737/superio.c
@@ -20,7 +20,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "dme1737.h"
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c
index 7fe54ce7f1..e43e791516 100644
--- a/src/superio/smsc/kbc1100/superio.c
+++ b/src/superio/smsc/kbc1100/superio.c
@@ -19,7 +19,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "kbc1100.h"
diff --git a/src/superio/smsc/lpc47b272/superio.c b/src/superio/smsc/lpc47b272/superio.c
index c5cfe0394e..6ac2d6dbf4 100644
--- a/src/superio/smsc/lpc47b272/superio.c
+++ b/src/superio/smsc/lpc47b272/superio.c
@@ -23,7 +23,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "lpc47b272.h"
diff --git a/src/superio/smsc/lpc47b397/superio.c b/src/superio/smsc/lpc47b397/superio.c
index f0ca914769..ad8153f41c 100644
--- a/src/superio/smsc/lpc47b397/superio.c
+++ b/src/superio/smsc/lpc47b397/superio.c
@@ -21,7 +21,6 @@
#include <superio/conf_mode.h>
#include <console/console.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "lpc47b397.h"
diff --git a/src/superio/smsc/lpc47m10x/superio.c b/src/superio/smsc/lpc47m10x/superio.c
index bfa5d33a3c..cd13854128 100644
--- a/src/superio/smsc/lpc47m10x/superio.c
+++ b/src/superio/smsc/lpc47m10x/superio.c
@@ -22,7 +22,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.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 26562c2cfc..80ed456ee4 100644
--- a/src/superio/smsc/lpc47m15x/superio.c
+++ b/src/superio/smsc/lpc47m15x/superio.c
@@ -19,7 +19,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "lpc47m15x.h"
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index 0a14e4c44d..b10e8a1b28 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -24,7 +24,6 @@
#include <device/pnp.h>
#include <console/console.h>
#include <device/smbus.h>
-#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "lpc47n217.h"
diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c
index 3574c5fe5e..610f685e43 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 <device/smbus.h>
-#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <pc80/keyboard.h>
diff --git a/src/superio/smsc/mec1308/superio.c b/src/superio/smsc/mec1308/superio.c
index 977c084922..74b8b2e3ca 100644
--- a/src/superio/smsc/mec1308/superio.c
+++ b/src/superio/smsc/mec1308/superio.c
@@ -19,7 +19,6 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
#include <device/smbus.h>
-#include <string.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include "mec1308.h"