On Thu, 2017-03-16 at 17:16 +0100, Hans de Goede wrote: > On some systems with an axp288 PMIC the dsdt exports a non functional > (*) > ACPI AC device (ACPI0003 device), which results in a Mains > power_supply > which reports itself as being always online. > > This commit calls acpi_ac_unregister() after successfully registering > the > axp288_charger power_supply to remove the broken Mains power_supply. > > *) It depends on a vendor specific BMOP ACPI opregion we do not > implement > + # if ACPI_AC=m, this can't be 'y' > + depends on ACPI_AC || !ACPI_AC Same comment as per patch 3 -- Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Intel Finland Oy -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html