gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

This cleans up the gpio-msm-v2 driver of all the global define usage.
The number of gpios are now defined in the device tree. This enables
adding irqdomain support as well.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
Rohit Vaswani 2013-06-10 15:50:21 -07:00 • committed by David Brown
commit 43f68444bc
5 changed files with 162 additions and 78 deletions