mirror of https://gitee.com/openkylin/linux.git
pinctrl: armada-37xx: Remove unneeded semicolon
Fixes coccicheck warning: drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:736:2-3: Unneeded semicolon drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:803:2-3: Unneeded semicolon Fixes: commit5715092a45
("pinctrl: armada-37xx: Add gpio support") commit2f22760539
("pinctrl: armada-37xx: Add irqchip support") Signed-off-by: Ma Feng <mafeng.ma@huawei.com> Link: https://lore.kernel.org/r/1576723865-111331-1-git-send-email-mafeng.ma@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
a9a79514c2
commit
d5d3594db9
|
@ -733,7 +733,7 @@ static int armada_37xx_irqchip_register(struct platform_device *pdev,
|
|||
ret = 0;
|
||||
break;
|
||||
}
|
||||
};
|
||||
}
|
||||
if (ret) {
|
||||
dev_err(dev, "no gpio-controller child node\n");
|
||||
return ret;
|
||||
|
@ -800,7 +800,7 @@ static int armada_37xx_gpiochip_register(struct platform_device *pdev,
|
|||
ret = 0;
|
||||
break;
|
||||
}
|
||||
};
|
||||
}
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue