commit | 5344817e682d1b6d481db7088ebb1239a6bd964b | [log] [tgz] |
---|---|---|
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Wed Mar 15 12:47:00 2017 -0700 |
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Mon Apr 10 20:14:08 2017 -0700 |
tree | 347a1c6be00b3709f514ec4a9f0b7321f01d5d55 | |
parent | 96ec88ee8fc9df38419e52eb25d7b00dc9573a7a [diff] |
power: qpnp-fg-gen3: Use votable for controlling delta_bsoc irq Instead of using a flag to retain the interrupt enabled status of delta_bsoc interrupt, switch it to use a votable instead. This improves the readability of code by not worrying about the flag. While at it, fix cleaning up the resources in some error paths during driver probe. Change-Id: I2c17a9d90c7b549435caa75da81f4c4779ea3344 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>