summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/ite/common/env_ctrl.h2
-rw-r--r--src/superio/smsc/lpc47n217/superio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/ite/common/env_ctrl.h b/src/superio/ite/common/env_ctrl.h
index 020f383be7..11316db276 100644
--- a/src/superio/ite/common/env_ctrl.h
+++ b/src/superio/ite/common/env_ctrl.h
@@ -77,7 +77,7 @@
#define ITE_EC_FAN_CTL_PWM_MODE_AUTOMATIC (1 << 7)
#define ITE_EC_FAN_CTL_PWM_DUTY_MASK (ITE_EC_FAN_MAX_PWM << 0)
#define ITE_EC_FAN_CTL_PWM_DUTY(p) \
- ({ \
+ ({ \
const unsigned int _p = p; \
(_p >= 100) \
? ITE_EC_FAN_MAX_PWM \
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index 9c5dff06e6..43b56dc549 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -91,7 +91,7 @@ static void lpc47n217_pnp_set_resources(struct device *dev)
for (res = dev->resource_list; res; res = res->next)
lpc47n217_pnp_set_resource(dev, res);
/* dump_pnp_device(dev); */
- pnp_exit_conf_state(dev);
+ pnp_exit_conf_state(dev);
}
/*