aboutsummaryrefslogtreecommitdiff
path: root/src/superio/fintek
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/fintek
parent16f9bf83e00c786275d3fcc9d512d145ef6c93c9 (diff)
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/fintek')
-rw-r--r--src/superio/fintek/f71863fg/superio.c2
-rw-r--r--src/superio/fintek/f71869ad/superio.c2
-rw-r--r--src/superio/fintek/f71872/superio.c2
-rw-r--r--src/superio/fintek/f81216h/early_serial.c2
-rw-r--r--src/superio/fintek/f81216h/superio.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/superio/fintek/f71863fg/superio.c b/src/superio/fintek/f71863fg/superio.c
index a19b1d053c..1b37bf25aa 100644
--- a/src/superio/fintek/f71863fg/superio.c
+++ b/src/superio/fintek/f71863fg/superio.c
@@ -29,7 +29,7 @@ static void f71863fg_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 F71863FG_KBC:
res0 = find_resource(dev, PNP_IDX_IO0);
diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c
index 5625a354a2..d466a76b6d 100644
--- a/src/superio/fintek/f71869ad/superio.c
+++ b/src/superio/fintek/f71869ad/superio.c
@@ -30,7 +30,7 @@ static void f71869ad_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 F71869AD_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
diff --git a/src/superio/fintek/f71872/superio.c b/src/superio/fintek/f71872/superio.c
index 47ecf3d290..8634451ca2 100644
--- a/src/superio/fintek/f71872/superio.c
+++ b/src/superio/fintek/f71872/superio.c
@@ -28,7 +28,7 @@ static void f71872_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 F71872_KBC:
pc_keyboard_init(NO_AUX_DEVICE);
diff --git a/src/superio/fintek/f81216h/early_serial.c b/src/superio/fintek/f81216h/early_serial.c
index 782a9ea683..9e8e48b405 100644
--- a/src/superio/fintek/f81216h/early_serial.c
+++ b/src/superio/fintek/f81216h/early_serial.c
@@ -38,7 +38,7 @@ static void pnp_exit_conf_state(pnp_devfn_t dev)
void f81216h_enable_serial(pnp_devfn_t dev, u16 iobase, mode_key k)
{
u8 key;
- switch(k) {
+ switch (k) {
case MODE_6767:
key = 0x67;
break;
diff --git a/src/superio/fintek/f81216h/superio.c b/src/superio/fintek/f81216h/superio.c
index 279187611a..e55ec5776b 100644
--- a/src/superio/fintek/f81216h/superio.c
+++ b/src/superio/fintek/f81216h/superio.c
@@ -40,7 +40,7 @@ static void pnp_enter_ext_func_mode(struct device *dev)
*
* See page 17 of data sheet.
*/
- switch(conf->conf_key_mode) {
+ switch (conf->conf_key_mode) {
case MODE_6767:
case MODE_7777:
case MODE_8787:
@@ -74,7 +74,7 @@ static void f81216h_init(struct device *dev)
if (!dev->enabled)
return;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case F81216H_SP1:
case F81216H_SP2:
case F81216H_SP3: