]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: bq24257: Remove IRQ config through stat-gpios
authorAndreas Dannenberg <dannenberg@ti.com>
Fri, 25 Sep 2015 15:54:07 +0000 (10:54 -0500)
committerSebastian Reichel <sre@kernel.org>
Mon, 28 Sep 2015 16:36:35 +0000 (18:36 +0200)
commit5ff8c89d112cbeb5776d5ba40a224b70f67e41bb
treecf940acf10c9753284949c6007e74d521db48d3d
parent2edd69a81dd4e8068bb512ffcc3959c77fc182ea
power: bq24257: Remove IRQ config through stat-gpios

At the time the driver was written GpioInt resources in ACPI were not
passed to the driver in client->irq, as opposed to DT enumeration. To
accommodate this use case, a "stat-gpios" property was introduced to
allow configuring the IRQ.

However this issue with ACPI was fixed in commit "845c877 i2c / ACPI:
Assign IRQ for devices that have GpioInt automatically" and makes this
workaround no longer necessary, hence we can remove the support for the
"stat-gpios" property and the associated code from the bq24257 driver.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq24257_charger.c