soc/intel/cannonlake: Put braces around *else* branch

From `Documentation/coding_style.md`:

> This does not apply if only one branch of a conditional statement is a
> single statement; in the latter case use braces in both branches:

Change-Id: I5672949e587a9c0e4efa01521a659e4c224085d0
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42200
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Paul Menzel 2020-06-08 17:01:41 +02:00 committed by Patrick Georgi
parent 0f1394abd6
commit 24b642e726
1 changed files with 2 additions and 1 deletions

View File

@ -203,8 +203,9 @@ void acpi_create_gnvs(struct global_nvs_t *gnvs)
if (CONFIG(EC_GOOGLE_CHROMEEC)) {
gnvs->chromeos.vbt2 = google_ec_running_ro() ?
ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
} else
} else {
gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO;
}
}
/* Enable DPTF based on mainboard configuration */