pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
authorPeter Rosin <peda@axentia.se>
Wed, 17 Jan 2018 13:34:23 +0000 (14:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:23:08 +0000 (20:23 +0100)
commitf04fe1192e5607f203e7c0096340fc867da8e84c
tree22d0b6cd0d4295de68380a4906675c24f0f35a38
parent5219eedf2d5e19fdcd03aa685426eb891be85af6
pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping

commit b930151e5b55a0e62a3aad06876de891ac980471 upstream.

Without such a range, gpiolib fails with -EPROBE_DEFER, pending the
addition of the range. So, without a range, gpiolib will keep
deferring indefinitely.

Fixes: 9e80f9064e73 ("pinctrl: Add SX150X GPIO Extender Pinctrl Driver")
Fixes: e10f72bf4b3e ("gpio: gpiolib: Generalise state persistence beyond sleep")
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-sx150x.c