mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-11 19:19:42 +00:00
ARM: 5956/1: misplaced parentheses
The parentheses appear misplaced. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
64de028948
commit
fcfadcaa57
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ static void gpio_set_initial_values(void)
|
||||||
for (i = 0; i < U300_GPIO_MAX; i++) {
|
for (i = 0; i < U300_GPIO_MAX; i++) {
|
||||||
val = 0;
|
val = 0;
|
||||||
for (j = 0; j < 8; j++)
|
for (j = 0; j < 8; j++)
|
||||||
val |= (u32)((u300_gpio_config[i][j].pull_up == DISABLE_PULL_UP)) << j;
|
val |= (u32)((u300_gpio_config[i][j].pull_up == DISABLE_PULL_UP) << j);
|
||||||
local_irq_save(flags);
|
local_irq_save(flags);
|
||||||
writel(val, virtbase + U300_GPIO_PXPER + i * U300_GPIO_PORTX_SPACING);
|
writel(val, virtbase + U300_GPIO_PXPER + i * U300_GPIO_PORTX_SPACING);
|
||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
|
|
Loading…
Reference in a new issue