]> git.baikalelectronics.ru Git - kernel.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)
commit398ee9140f47af87d46cca0cc6f94b12026750e6
tree18e08746eae4085c4f677736e5a6f2c86625328a
parenta0db5d98bf626c138dcb0b1099350c21a7cc1394
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