OSDN Git Service

gpio: moxart: Drop redundant code to set already initialized gpio_chip fields
authorAxel Lin <axel.lin@ingics.com>
Fri, 26 Feb 2016 07:59:57 +0000 (15:59 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Mar 2016 04:37:11 +0000 (11:37 +0700)
commit0c271658aa4b60f5739691e540548aa140e4b3b5
tree2f36ec35dd20bf3aa0465468e8fc0ff5cfd82147
parent214338e372af2b856af07978daa771dbe087f990
gpio: moxart: Drop redundant code to set already initialized gpio_chip fields

These fields are initialized by bgpio_init() with exactly the same settings
so remove the redundant code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-moxart.c