summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-10 10:38:22 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-09-11 21:39:08 +0000
commitc54a967147c08d3ae80510f1a29704d798e8c804 (patch)
tree0615a891b855c7d0cd0a06cfa361966d202bf4ea /src/soc/intel/common/block
parentd3bb087360c823deb6b59eb15b446b9d2afff2c0 (diff)
soc/intel: Remove space between function name and '('
Change-Id: I1dbfca33c437c680118eb3a92e60b5607c93e565 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77768 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r--src/soc/intel/common/block/gpio/gpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/gpio/gpio.c b/src/soc/intel/common/block/gpio/gpio.c
index facc1fe5a2..63d59daa57 100644
--- a/src/soc/intel/common/block/gpio/gpio.c
+++ b/src/soc/intel/common/block/gpio/gpio.c
@@ -245,7 +245,7 @@ static void set_ioapic_used(uint32_t irq)
{
size_t word_offset = irq / 32;
size_t bit_offset = irq % 32;
- assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
+ assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
gpio_ioapic_irqs_used[word_offset] |= BIT(bit_offset);
}
@@ -253,7 +253,7 @@ bool gpio_routes_ioapic_irq(uint32_t irq)
{
size_t word_offset = irq / 32;
size_t bit_offset = irq % 32;
- assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
+ assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
return (gpio_ioapic_irqs_used[word_offset] & BIT(bit_offset)) != 0;
}
@@ -830,7 +830,7 @@ static int gpio_route_pmc_gpio_gpe(int pmc_gpe_num)
int i;
routes = soc_pmc_gpio_routes(&num_routes);
- assert (routes != NULL);
+ assert(routes != NULL);
for (i = 0; i < num_routes; i++, routes++) {
if (pmc_gpe_num == routes->pmc)
return routes->gpio;