summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-13 10:03:31 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-19 08:17:06 +0000
commit0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 (patch)
tree983a793e01bbf09ed1e9c74534d4b78f9d3f2866 /src/superio/winbond
parent16f9bf83e00c786275d3fcc9d512d145ef6c93c9 (diff)
downloadcoreboot-0ce41f1a116a816e774ebbd1130d27d7ee70e7e9.tar.xz
src: Add required space after "switch"
Change-Id: I85cf93e30606bc7838852bd300a369e79370629a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29623 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83627dhg/superio.c2
-rw-r--r--src/superio/winbond/w83627ehg/superio.c2
-rw-r--r--src/superio/winbond/w83627hf/superio.c4
-rw-r--r--src/superio/winbond/w83627thg/superio.c2
-rw-r--r--src/superio/winbond/w83627uhg/superio.c2
-rw-r--r--src/superio/winbond/w83667hg-a/superio.c2
-rw-r--r--src/superio/winbond/w83977tf/superio.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c
index 23b73a2dee..363bcc4709 100644
--- a/src/superio/winbond/w83627dhg/superio.c
+++ b/src/superio/winbond/w83627dhg/superio.c
@@ -38,7 +38,7 @@ static void w83627dhg_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627DHG_SP2:
w83627dhg_enable_UR2(dev);
break;
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index db1f98efc1..04dda6edc7 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -83,7 +83,7 @@ static void w83627ehg_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627EHG_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
break;
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index 21c3016327..e9cc13b872 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -90,7 +90,7 @@ static void w83627hf_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627HF_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
break;
@@ -110,7 +110,7 @@ static void w83627hf_pnp_enable_resources(struct device *dev)
pnp_enable_resources(dev);
pnp_enter_conf_mode(dev);
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627HF_HWM:
printk(BIOS_DEBUG, "W83627HF HWM SMBus enabled\n");
enable_hwm_smbus(dev);
diff --git a/src/superio/winbond/w83627thg/superio.c b/src/superio/winbond/w83627thg/superio.c
index 03afe117b7..d741a70941 100644
--- a/src/superio/winbond/w83627thg/superio.c
+++ b/src/superio/winbond/w83627thg/superio.c
@@ -30,7 +30,7 @@ static void w83627thg_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627THG_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
break;
diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c
index d86560f1db..4c7a7adaab 100644
--- a/src/superio/winbond/w83627uhg/superio.c
+++ b/src/superio/winbond/w83627uhg/superio.c
@@ -58,7 +58,7 @@ static void w83627uhg_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83627UHG_SP1:
set_uart_clock_source(dev, 0);
break;
diff --git a/src/superio/winbond/w83667hg-a/superio.c b/src/superio/winbond/w83667hg-a/superio.c
index ceb783dee0..09859cf2c7 100644
--- a/src/superio/winbond/w83667hg-a/superio.c
+++ b/src/superio/winbond/w83667hg-a/superio.c
@@ -44,7 +44,7 @@ static void w83667hg_a_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
/* TODO: Might potentially need code for HWM or FDC etc. */
case W83667HG_A_KBC:
/* Enable mouse controller */
diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c
index 9b78b84106..40df5b36b8 100644
--- a/src/superio/winbond/w83977tf/superio.c
+++ b/src/superio/winbond/w83977tf/superio.c
@@ -31,7 +31,7 @@ static void w83977tf_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case W83977TF_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
break;