summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-04 13:27:52 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-05 11:37:00 +0000
commit5ba154a597e7177e34a588cd9e07a4cc7f16b837 (patch)
treef62c855f21ae9f4062ed09dee239f9c00428c486 /src/soc
parent6aa9d668739a29ebbaabd435d261f90176a72261 (diff)
src: Use space after 'if', 'for'
Change-Id: I5d3a5ede47aefc7cc2ee330f8a0bcded16138764 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44173 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/skylake/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/sd.c b/src/soc/intel/skylake/sd.c
index 1f40d98255..ba56182af1 100644
--- a/src/soc/intel/skylake/sd.c
+++ b/src/soc/intel/skylake/sd.c
@@ -8,7 +8,7 @@ int sd_fill_soc_gpio_info(struct acpi_gpio* gpio, const struct device *dev)
config_t *config = config_of(dev);
/* Nothing to write if GPIO is not set in devicetree */
- if(!config->sdcard_cd_gpio_default && !config->sdcard_cd_gpio.pins[0])
+ if (!config->sdcard_cd_gpio_default && !config->sdcard_cd_gpio.pins[0])
return -1;
if (config->sdcard_cd_gpio_default) {