pinctrl: qcom: Use platform_irq_count() instead of of_irq_count()
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 7 Jan 2016 01:37:41 +0000 (17:37 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Jan 2016 09:35:52 +0000 (10:35 +0100)
commita5ea13f025e7bf3bb280a22f5fe63b7159358932
treeedfd504d4b5f402c05d4a214b409edc68175b8b4
parent4b83555d5098e73cf2c5ca7f86c17ca0ba3b968e
pinctrl: qcom: Use platform_irq_count() instead of of_irq_count()

of_irq_count() is not an exported symbol (and it shouldn't be
used by platform drivers anyway) so use platform_irq_count()
instead. This allows us to make the qcom pinctrl drivers modular
again.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn@kryo.se>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c