summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-28 16:21:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:11:32 +0000
commit5bd5a9ae01e8bc2561e30c17448f9eae86831901 (patch)
treeecd4c38595559437e9f444ff3d34c1b05b8943f0 /src/superio
parentb9585c5cc8a7a2f768dc6139d2fb1180fcaf1271 (diff)
src/superio/{ite,smsc}: Remove space before tab
Change-Id: I2829e4cb1445f8412f57da10fda6b92c92e56ea0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26650 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
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);
}
/*