gpio: aspeed: remove duplicated statement
Subsystems (2)
PATCH 1/1 gpio: aspeed: remove duplicated statement
Remove duplicated assignment statement from aspeed_gpio_probe() function.
Signed-off-by Tao Ren <[email protected]>
--- drivers/gpio/gpio-aspeed.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpio/gpio-aspeed.c +0 -1
@@ -1185,7 +1185,6 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev) gpio->chip.parent = &pdev->dev; gpio->chip.ngpio = gpio->config->nr_gpios; - gpio->chip.parent = &pdev->dev; gpio->chip.direction_input = aspeed_gpio_dir_in; gpio->chip.direction_output = aspeed_gpio_dir_out; gpio->chip.get_direction = aspeed_gpio_get_direction;
Signature · 1 line
2.17.1
Quoted 4 lines · Tao Ren
Remove duplicated assignment statement from
aspeed_gpio_probe()function.Signed-off-by Tao Ren <[email protected]>
Acked-by Joel Stanley <[email protected]>
Thanks Tao!
Quoted 3 lines · Tao Ren
Remove duplicated assignment statement from
aspeed_gpio_probe()function.Signed-off-by Tao Ren <[email protected]>
Patch applied with Joel's ACK.
Yours,
Linus Walleij