summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n217
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/lpc47n217')
-rw-r--r--src/superio/smsc/lpc47n217/early_serial.c4
-rw-r--r--src/superio/smsc/lpc47n217/superio.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/smsc/lpc47n217/early_serial.c b/src/superio/smsc/lpc47n217/early_serial.c
index 454d77f046..f9ff04e28f 100644
--- a/src/superio/smsc/lpc47n217/early_serial.c
+++ b/src/superio/smsc/lpc47n217/early_serial.c
@@ -43,7 +43,7 @@ static void lpc47n217_pnp_set_iobase(pnp_devfn_t dev, u16 iobase)
/* LPC47N217 requires base ports to be a multiple of 4. */
ASSERT(!(iobase & 0x3));
- switch(dev & 0xFF) {
+ switch (dev & 0xFF) {
case LPC47N217_PP:
pnp_write_config(dev, 0x23, (iobase >> 2) & 0xff);
break;
@@ -74,7 +74,7 @@ static void lpc47n217_pnp_set_enable(pnp_devfn_t dev, int enable)
{
u8 power_register = 0, power_mask = 0, current_power, new_power;
- switch(dev & 0xFF) {
+ switch (dev & 0xFF) {
case LPC47N217_PP:
power_register = 0x01;
power_mask = 0x04;
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index e63645e522..0a14e4c44d 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -163,7 +163,7 @@ static void lpc47n217_pnp_set_iobase(struct device *dev, u16 iobase)
{
ASSERT(!(iobase & 0x3));
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case LPC47N217_PP:
pnp_write_config(dev, 0x23, (iobase >> 2) & 0xff);
break;
@@ -201,7 +201,7 @@ static void lpc47n217_pnp_set_irq(struct device *dev, u8 irq)
u8 irq_config_register = 0, irq_config_mask = 0;
u8 current_config, new_config;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case LPC47N217_PP:
irq_config_register = 0x27;
irq_config_mask = 0x0F;
@@ -231,7 +231,7 @@ static void lpc47n217_pnp_set_enable(struct device *dev, int enable)
{
u8 power_register = 0, power_mask = 0, current_power, new_power;
- switch(dev->path.pnp.device) {
+ switch (dev->path.pnp.device) {
case LPC47N217_PP:
power_register = 0x01;
power_mask = 0x04;