pinctrl-sx150x: Improve sx150x_init_misc for SX1504/5/6
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 7 Nov 2016 16:53:15 +0000 (08:53 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 08:38:20 +0000 (09:38 +0100)
commitb30d31e40e2d650c0183d1b46f70cb41618d3592
treeb44241062ed0714f0ad6f6ce3c5c3f9195e0246e
parent310cdfa0097a94d8cc3c0c314d64d6eb1cc69bf8
pinctrl-sx150x: Improve sx150x_init_misc for SX1504/5/6

For Sx1504/5/6 only SX1506 has RegAdvanced, so put some code in place to
account for that.

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