diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-08-26 09:53:14 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-08-27 20:01:55 +0000 |
commit | 1f4e78f651375aec51bcd04f42bfb2db7c13c084 (patch) | |
tree | db92a762eb2fc561a780b496c3e27bc3c1b2f4a0 /src/mainboard/google/butterfly | |
parent | 5bdc7c8850fa6c44936dbc91db6e98f74bfe9b30 (diff) |
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>
Diffstat (limited to 'src/mainboard/google/butterfly')
-rw-r--r-- | src/mainboard/google/butterfly/mainboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c index 6759b86a1d..6145dc73d4 100644 --- a/src/mainboard/google/butterfly/mainboard.c +++ b/src/mainboard/google/butterfly/mainboard.c @@ -150,8 +150,9 @@ static void program_keyboard_type(u32 search_address, u32 search_length) if (offset != search_length) kbd_type = EC_KBD_JP; } - } else + } else { printk(BIOS_DEBUG, "Error: Could not locate VPD area\n"); + } printk(BIOS_DEBUG, "Setting Keyboard type in EC to "); printk(BIOS_DEBUG, (kbd_type == EC_KBD_JP) ? "Japanese" : "English"); |