commit | ea79955ac9b9b48b361524b8fca96689dd213d3d | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Wed Jan 08 20:16:37 2014 -0800 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Thu Jan 09 23:49:11 2014 -0800 |
tree | 5fe585c36e65cf1a8c7e9855f78c497d75345ba7 | |
parent | d53183a5d541a00e5ee045844ff5f80fe3198a69 [diff] |
gpio: qpnp-pin: map interrupts only when required The current driver creates an irq mapping for every pin in the probe function. This is unnecessary because some pins may not be used as interrupts. Instead create a mapping only when gpio_to_irq() api is called. Change-Id: I8bd11997fbcbb0aad69ed0cfc20a2c35a8266f0f Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>