mb/google/butterfly: Put braces around `else` branch

Ensure braces are consistent on all branches of a conditional statement,
as per the coding style.

Tested with BUILD_TIMELESS=1, Google Butterfly remains identical.

Change-Id: I34f3b22486e0f0712bc248477acb43012b21c5ee
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57163
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Angel Pons 2021-08-26 09:53:14 +02:00 committed by Felix Held
parent 5bdc7c8850
commit 1f4e78f651
1 changed files with 2 additions and 1 deletions

View File

@ -150,8 +150,9 @@ static void program_keyboard_type(u32 search_address, u32 search_length)
if (offset != search_length) if (offset != search_length)
kbd_type = EC_KBD_JP; kbd_type = EC_KBD_JP;
} }
} else } else {
printk(BIOS_DEBUG, "Error: Could not locate VPD area\n"); printk(BIOS_DEBUG, "Error: Could not locate VPD area\n");
}
printk(BIOS_DEBUG, "Setting Keyboard type in EC to "); printk(BIOS_DEBUG, "Setting Keyboard type in EC to ");
printk(BIOS_DEBUG, (kbd_type == EC_KBD_JP) ? "Japanese" : "English"); printk(BIOS_DEBUG, (kbd_type == EC_KBD_JP) ? "Japanese" : "English");