summaryrefslogtreecommitdiff
path: root/src/mainboard/apple
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-12-08 10:52:34 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-12-20 08:34:50 +0000
commitdf98b8168fdf302402a8a83a6a6da020cf0ebaa9 (patch)
treede29d175bbfcebe7eb420072fab04077146de45a /src/mainboard/apple
parent6ff711c48faa64024d031ed7753c157837347d24 (diff)
mainboard: Use same indent levels for switch/case
Use same indent levels for switch/case in order to comply with the linter. Change-Id: I602cf024ec84b15b783d36014c725826f9d6595e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79418 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/apple')
-rw-r--r--src/mainboard/apple/macbook21/smihandler.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mainboard/apple/macbook21/smihandler.c b/src/mainboard/apple/macbook21/smihandler.c
index 7df92d9da2..f4c8ad229f 100644
--- a/src/mainboard/apple/macbook21/smihandler.c
+++ b/src/mainboard/apple/macbook21/smihandler.c
@@ -8,16 +8,16 @@
int mainboard_smi_apmc(u8 data)
{
switch (data) {
- case APM_CNT_ACPI_ENABLE:
- /* route H8SCI to SCI */
- gpi_route_interrupt(GPE_EC_SCI, GPI_IS_SCI);
- break;
- case APM_CNT_ACPI_DISABLE:
- /* route H8SCI# to SMI */
- gpi_route_interrupt(GPE_EC_SCI, GPI_IS_SMI);
- break;
- default:
- break;
+ case APM_CNT_ACPI_ENABLE:
+ /* route H8SCI to SCI */
+ gpi_route_interrupt(GPE_EC_SCI, GPI_IS_SCI);
+ break;
+ case APM_CNT_ACPI_DISABLE:
+ /* route H8SCI# to SMI */
+ gpi_route_interrupt(GPE_EC_SCI, GPI_IS_SMI);
+ break;
+ default:
+ break;
}
return 0;
}