soc: arm: cypress: fix soc_gpio missing final else in construct

The final else was missing in the if ... else if ... construct.
This commit adds a non-empty else {} to comply with coding
guideline 15.7.

Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
This commit is contained in:
Jennifer Williams 2021-04-08 19:33:23 -07:00 committed by Anas Nashif
commit b003c971f6

View file

@ -30,6 +30,8 @@ static uint32_t soc_gpio_get_drv_mode(uint32_t flags)
drv_mode = CY_GPIO_DM_PULLUP_IN_OFF;
} else if (flags & SOC_GPIO_PULLDOWN) {
drv_mode = CY_GPIO_DM_PULLDOWN_IN_OFF;
} else {
;
}
if (flags & SOC_GPIO_INPUTENABLE) {