• Rafael J. Wysocki's avatar
    Merge branches 'acpi-apei', 'acpi-x86', 'acpi-battery' and 'acpi-pfrut' · 39f26d10
    Rafael J. Wysocki authored
    Make ACPI APEI updates, x86-specific ACPI updates, ACPI battery driver
    fix and ACPI PFRU/T driver fixes for 6.2-rc1:
    
     - Drop unsetting ACPI APEI driver data on remove (Uwe Kleine-König).
    
     - Use xchg_release() instead of cmpxchg() for updating new GHES cache
       slots (Ard Biesheuvel).
    
     - Clean up the ACPI APEI code (Sudeep Holla, Christophe JAILLET, Jay Lu).
    
     - Add new I2C device enumeration quirks for Medion Lifetab S10346 and
       Lenovo Yoga Tab 3 Pro (YT3-X90F) (Hans de Goede).
    
     - Make the ACPI battery driver notify user space about adding new
       battery hooks and removing the existing ones (Armin Wolf).
    
     - Modify the pfr_update and pfr_telemetry drivers to use ACPI_FREE()
       for freeing acpi_object structures to help diagnostics (Wang ShaoBo).
    
    * acpi-apei:
      ACPI: APEI: EINJ: Refactor available_error_type_show()
      ACPI: APEI: EINJ: Fix formatting errors
      ACPI: APEI: Remove a useless include
      ACPI: APEI: Silence missing prototype warnings
      apei/ghes: Use xchg_release() for updating new cache slot instead of cmpxchg()
      ACPI: APEI: Drop unsetting driver data on remove
    
    * acpi-x86:
      ACPI: x86: Add skip i2c clients quirk for Medion Lifetab S10346
      ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)
    
    * acpi-battery:
      ACPI: battery: Call power_supply_changed() when adding hooks
    
    * acpi-pfrut:
      ACPI: pfr_update: use ACPI_FREE() to free acpi_object
      ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object
    39f26d10
battery.c 36.8 KB