From 57ef7c37d88fa4fd8976306ea8eaf5da49dca775 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 7 Jan 2021 02:49:46 +0000 Subject: mb/google/parrot: Let else statement follow closing brace Fixes a linter error. Change-Id: I1302e32b0d52e37d9cb4503128edc7d1df1c3bd8 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/49200 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/parrot/smihandler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3