From 0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 13 Nov 2018 10:03:31 +0100 Subject: src: Add required space after "switch" Change-Id: I85cf93e30606bc7838852bd300a369e79370629a Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/29623 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/superio/nuvoton/nct5104d/superio.c | 4 ++-- src/superio/nuvoton/nct5572d/superio.c | 2 +- src/superio/nuvoton/nct6779d/superio.c | 2 +- src/superio/nuvoton/wpcm450/superio.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/superio/nuvoton') 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; -- cgit v1.2.3