summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/t60/smihandler.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-13 10:03:31 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-19 08:17:06 +0000
commit0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 (patch)
tree983a793e01bbf09ed1e9c74534d4b78f9d3f2866 /src/mainboard/lenovo/t60/smihandler.c
parent16f9bf83e00c786275d3fcc9d512d145ef6c93c9 (diff)
downloadcoreboot-0ce41f1a116a816e774ebbd1130d27d7ee70e7e9.tar.gz
coreboot-0ce41f1a116a816e774ebbd1130d27d7ee70e7e9.tar.bz2
coreboot-0ce41f1a116a816e774ebbd1130d27d7ee70e7e9.zip
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/mainboard/lenovo/t60/smihandler.c')
-rw-r--r--src/mainboard/lenovo/t60/smihandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t60/smihandler.c b/src/mainboard/lenovo/t60/smihandler.c
index bccb7f128abd..4e6a68d35689 100644
--- a/src/mainboard/lenovo/t60/smihandler.c
+++ b/src/mainboard/lenovo/t60/smihandler.c
@@ -119,7 +119,7 @@ static void mainboard_smi_handle_ec_sci(void)
event = ec_query();
printk(BIOS_DEBUG, "EC event %02x\n", event);
- switch(event) {
+ switch (event) {
/* brightness up */
case 0x14:
mainboard_smi_brightness_up();
@@ -153,7 +153,7 @@ void mainboard_smi_gpi(u32 gpi)
int mainboard_smi_apmc(u8 data)
{
- switch(data) {
+ switch (data) {
case APM_CNT_ACPI_ENABLE:
/* use 0x1600/0x1604 to prevent races with userspace */
ec_set_ports(0x1604, 0x1600);