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)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Jan 2018 10:04:47 +0000 (11:04 +0100)
commitb930151e5b55a0e62a3aad06876de891ac980471
tree29f9adfd89a78bfa941ad0ea079f0e33483793d5
parent1a1d39e1b8dd1d0f92a79da4fcc1ab0be3ae9bfc
pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping

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

Cc: stable@vger.kernel.org
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>
drivers/pinctrl/pinctrl-sx150x.c