]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl-sx150x: Move some code out of sx150x_init_hw
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 7 Nov 2016 16:53:14 +0000 (08:53 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 08:37:32 +0000 (09:37 +0100)
commit310cdfa0097a94d8cc3c0c314d64d6eb1cc69bf8
tree18e08746eae4085c4f677736e5a6f2c86625328a
parent9af2ca82b33f82dfb015706696a9cdf55b8feaa0
pinctrl-sx150x: Move some code out of sx150x_init_hw

Move the code configuring explicit IRQ acking into a standalone function
to declutter sx150x_init_hw a bit and make that code somewhat less
repetitious.

Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c