pinctrl: sirf: fix the checkpatch issue about indentation
Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
eb6002d5e2
commit
9c956909ed
1 changed files with 3 additions and 3 deletions
|
@ -306,13 +306,13 @@ static int sirfsoc_gpio_of_xlate(struct gpio_chip *gc,
|
||||||
u32 *flags)
|
u32 *flags)
|
||||||
{
|
{
|
||||||
if (gpiospec->args[0] > SIRFSOC_GPIO_NO_OF_BANKS * SIRFSOC_GPIO_BANK_SIZE)
|
if (gpiospec->args[0] > SIRFSOC_GPIO_NO_OF_BANKS * SIRFSOC_GPIO_BANK_SIZE)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (gc != &sgpio_bank[gpiospec->args[0] / SIRFSOC_GPIO_BANK_SIZE].chip.gc)
|
if (gc != &sgpio_bank[gpiospec->args[0] / SIRFSOC_GPIO_BANK_SIZE].chip.gc)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (flags)
|
if (flags)
|
||||||
*flags = gpiospec->args[1];
|
*flags = gpiospec->args[1];
|
||||||
|
|
||||||
return gpiospec->args[0] % SIRFSOC_GPIO_BANK_SIZE;
|
return gpiospec->args[0] % SIRFSOC_GPIO_BANK_SIZE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue