• Rafael J. Wysocki's avatar
    Merge branches 'acpi-thermal' and 'acpi-button' · 0586d263
    Rafael J. Wysocki authored
    Merge ACPI thermal driver cleanups and ACPI button drivers rework for
    6.5-rc1:
    
     - Clean up the ACPI thermal driver and drop some dead or otherwise
       unneded code from it (Rafael Wysocki).
    
     - Rework the handling of notifications in the ACPI button drivers so
       as to allow the common notification handling code for devices to be
       simplified (Rafael Wysocki).
    
    * acpi-thermal:
      ACPI: thermal: Drop struct acpi_thermal_flags
      ACPI: thermal: Drop struct acpi_thermal_state
      ACPI: thermal: Eliminate struct acpi_thermal_state_flags
      ACPI: thermal: Move acpi_thermal_driver definition
      ACPI: thermal: Move symbol definitions to one place
      ACPI: thermal: Drop redundant ACPI_TRIPS_REFRESH_DEVICES symbol
      ACPI: thermal: Use BIT() macro for defining flags
    
    * acpi-button:
      ACPI: bus: Simplify installation and removal of notify callback
      ACPI: tiny-power-button: Eliminate the driver notify callback
      ACPI: button: Use different notify handlers for lid and buttons
      ACPI: button: Eliminate the driver notify callback
    0586d263
button.c 19 KB