pinctrl: msm: Use dynamic GPIO numbering
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 29 Jan 2018 00:59:48 +0000 (16:59 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Feb 2018 09:47:24 +0000 (10:47 +0100)
commita7aa75a2a7dba32594291a71c3704000a2fd7089
tree02d830e99aaf4a2286fb919bbf2f8acf806a9b47
parent1781af563aef66c2eb7cda65d754d2228321a260
pinctrl: msm: Use dynamic GPIO numbering

The base of the TLMM gpiochip should not be statically defined as 0, fix
this to not artificially restrict the existence of multiple pinctrl-msm
devices.

Fixes: f365be092572 ("pinctrl: Add Qualcomm TLMM driver")
Reported-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c