Commit 4f41e66c authored by YueHaibing's avatar YueHaibing Committed by Linus Walleij

pinctrl: sirf: drop pointless static qualifier in sirfsoc_gpio_probe

There is no need to have the 'sgpio' variable static since new
value always be assigned before use it.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ff54d82b
......@@ -782,7 +782,7 @@ static void sirfsoc_gpio_set_pulldown(struct sirfsoc_gpio_chip *sgpio,
static int sirfsoc_gpio_probe(struct device_node *np)
{
int i, err = 0;
static struct sirfsoc_gpio_chip *sgpio;
struct sirfsoc_gpio_chip *sgpio;
struct sirfsoc_gpio_bank *bank;
void __iomem *regs;
struct platform_device *pdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment