• Andreas Dannenberg's avatar
    power: bq24257: Remove IRQ config through stat-gpios · 5ff8c89d
    Andreas Dannenberg authored
    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 "845c8770 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: default avatarAndreas Dannenberg <dannenberg@ti.com>
    Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
    5ff8c89d
bq24257_charger.c 20.1 KB