[PATCH 0/3] Make qcom pinctrl drivers tristate again

From: Stephen Boyd
Date: Wed Jan 06 2016 - 20:12:57 EST


One of my recent changes to the qcom pinctrl drivers introduced
a module build failure due to of_irq_count() missing an export.
Rob doesn't want us to export that API though, so this series
introduces platform_irq_count() and uses it in the pinctrl
drivers. Linus changed the Kconfig to bool so that the build
failure went away, so I've reverted that patch here after
we fix the build failure with the new API.

Greg, please ack the first patch so it can go through Linus'
tree.

Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Andy Gross <andy.gross@xxxxxxxxxx>

Stephen Boyd (3):
driver-core: platform: Add platform_irq_count()
pinctrl: qcom: Use platform_irq_count() instead of of_irq_count()
Revert "pinctrl: qcom: make PMIC drivers bool"

drivers/base/platform.c | 20 ++++++++++++++++++++
drivers/pinctrl/qcom/Kconfig | 4 ++--
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 +++-
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 4 +++-
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 9 ++++++---
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 9 ++++++---
include/linux/platform_device.h | 1 +
7 files changed, 41 insertions(+), 10 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/