chip/mec1322/gpio.c: Format with clang-format
BRANCH=none
TEST=none
@@ -21,12 +21,10 @@ struct gpio_int_mapping {
/* Mapping from GPIO port to GIRQ info */
static const struct gpio_int_mapping int_map[22] = {
- {11, 0}, {11, 0}, {11, 0}, {11, 0},
- {10, 4}, {10, 4}, {10, 4}, {-1, -1},
- {-1, -1}, {-1, -1}, {9, 10}, {9, 10},
- {9, 10}, {9, 10}, {8, 14}, {8, 14},
- {8, 14}, {-1, -1}, {-1, -1}, {-1, -1},
- {20, 20}, {20, 20}
+ { 11, 0 }, { 11, 0 }, { 11, 0 }, { 11, 0 }, { 10, 4 }, { 10, 4 },
+ { 10, 4 }, { -1, -1 }, { -1, -1 }, { -1, -1 }, { 9, 10 }, { 9, 10 },
+ { 9, 10 }, { 9, 10 }, { 8, 14 }, { 8, 14 }, { 8, 14 }, { -1, -1 },
+ { -1, -1 }, { -1, -1 }, { 20, 20 }, { 20, 20 }
};
void gpio_set_alternate_function(uint32_t port, uint32_t mask,
@@ -199,7 +197,6 @@ void gpio_pre_init(void)
int is_warm = system_is_reboot_warm();
const struct gpio_info *g = gpio_list;
-
for (i = 0; i < GPIO_COUNT; i++, g++) {
flags = g->flags;
@@ -241,7 +238,6 @@ DECLARE_HOOK(HOOK_INIT, gpio_init, HOOK_PRIO_DEFAULT);
/*****************************************************************************/
/* Interrupt handlers */
-
/**
* Handler for each GIRQ interrupt. This reads and clears the interrupt bits for
* the GIRQ interrupt, then finds and calls the corresponding GPIO interrupt
