mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
gpio: aspeed: remove duplicated statement
Remove duplicated assignment statement from aspeed_gpio_probe() function. Signed-off-by: Tao Ren <[email protected]> Acked-by: Joel Stanley <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
fb0b35d307
commit
533918b6f6
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue