diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-11-13 10:03:31 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-19 08:17:06 +0000 |
commit | 0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 (patch) | |
tree | 983a793e01bbf09ed1e9c74534d4b78f9d3f2866 /src/superio/nuvoton | |
parent | 16f9bf83e00c786275d3fcc9d512d145ef6c93c9 (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/nuvoton')
-rw-r--r-- | src/superio/nuvoton/nct5104d/superio.c | 4 | ||||
-rw-r--r-- | src/superio/nuvoton/nct5572d/superio.c | 2 | ||||
-rw-r--r-- | src/superio/nuvoton/nct6779d/superio.c | 2 | ||||
-rw-r--r-- | src/superio/nuvoton/wpcm450/superio.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c index 47687e1122..bc9af3b117 100644 --- a/src/superio/nuvoton/nct5104d/superio.c +++ b/src/superio/nuvoton/nct5104d/superio.c @@ -30,7 +30,7 @@ static void set_irq_trigger_type(struct device *dev, bool trig_level) reg26 |= CR26_LOCK_REG; pnp_write_config(dev, GLOBAL_OPTION_CR26, reg26); - switch(dev->path.pnp.device) { + switch (dev->path.pnp.device) { //SP1 (UARTA) IRQ type selection (1:level,0:edge) is controlled by CR 10, bit 5 case NCT5104D_SP1: reg10 = pnp_read_config(dev, IRQ_TYPE_SEL_CR10); @@ -116,7 +116,7 @@ static void nct5104d_init(struct device *dev) pnp_enter_conf_mode(dev); - switch(dev->path.pnp.device) { + switch (dev->path.pnp.device) { case NCT5104D_SP1: case NCT5104D_SP2: set_irq_trigger_type(dev, conf->irq_trigger_type != 0); diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c index 10542d5591..c6d46bf14c 100644 --- a/src/superio/nuvoton/nct5572d/superio.c +++ b/src/superio/nuvoton/nct5572d/superio.c @@ -44,7 +44,7 @@ static void nct5572d_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 NCT5572D_KBC: /* Enable mouse controller */ diff --git a/src/superio/nuvoton/nct6779d/superio.c b/src/superio/nuvoton/nct6779d/superio.c index 465ef6636a..e5824967d4 100644 --- a/src/superio/nuvoton/nct6779d/superio.c +++ b/src/superio/nuvoton/nct6779d/superio.c @@ -32,7 +32,7 @@ static void nct6779d_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 NCT6779D_KBC: pc_keyboard_init(NO_AUX_DEVICE); diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c index 3a0cc5de80..fa7a8a0f83 100644 --- a/src/superio/nuvoton/wpcm450/superio.c +++ b/src/superio/nuvoton/wpcm450/superio.c @@ -28,7 +28,7 @@ static void init(struct device *dev) if (!dev->enabled) return; - switch(dev->path.pnp.device) { + switch (dev->path.pnp.device) { case WPCM450_KBCK: pc_keyboard_init(NO_AUX_DEVICE); break; |