aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/parrot
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-01-07 02:49:46 +0000
committerNico Huber <nico.h@gmx.de>2021-01-09 15:22:37 +0000
commit57ef7c37d88fa4fd8976306ea8eaf5da49dca775 (patch)
tree93035a4593c1afeeb448a9d5a8d0bd55cfee7ca8 /src/mainboard/google/parrot
parent81ffd00856800b8fa0d2d008e28e0e0916169661 (diff)
mb/google/parrot: Let else statement follow closing brace
Fixes a linter error. Change-Id: I1302e32b0d52e37d9cb4503128edc7d1df1c3bd8 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49200 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/parrot')
-rw-r--r--src/mainboard/google/parrot/smihandler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/parrot/smihandler.c b/src/mainboard/google/parrot/smihandler.c
index a0b067ca4a..0a4f249731 100644
--- a/src/mainboard/google/parrot/smihandler.c
+++ b/src/mainboard/google/parrot/smihandler.c
@@ -40,8 +40,7 @@ void mainboard_smi_gpi(u32 gpi_sts)
if (gpi_sts & (1 << EC_SMI_GPI)) {
/* Process all pending events from EC */
while (mainboard_smi_ec() != EC_NO_EVENT);
- }
- else if (gpi_sts & (1 << EC_LID_GPI)) {
+ } else if (gpi_sts & (1 << EC_LID_GPI)) {
printk(BIOS_DEBUG, "LID CLOSED, SHUTDOWN\n");
/* Go to S5 */