OSDN Git Service

gpio: ftgpio: Move hardware initialization
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Aug 2019 08:27:04 +0000 (10:27 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Aug 2019 08:42:07 +0000 (10:42 +0200)
commita7e42142926f815c776f745d027f69a53415d99c
tree048e04ec5534f120360b4af2b961311ce07cf604
parenteb1e8bd6e3900e3a3b9776cd1b09ecfc05573619
gpio: ftgpio: Move hardware initialization

It is probably wise to initialize the hardware before registering
the irq chip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190819082704.14237-1-linus.walleij@linaro.org
drivers/gpio/gpio-ftgpio010.c