Commit 4e9ad033b405 for kernel

commit 4e9ad033b405336cea3c19b68e2acdf47d88c339
Merge: cd7fa3e1b0bc d47a60e487fb
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Nov 19 11:17:53 2024 -0800

    Merge tag 'acpi-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

    Pull ACPI updates from Rafael Wysocki:
     "These include a couple of fixes, a new ACPI backlight quirk for Apple
      MacbookPro11,2 and Air7,2 and a bunch of cleanups:

       - Fix _CPC register setting issue for registers located in memory in
         the ACPI CPPC library code (Lifeng Zheng)

       - Use DEFINE_SIMPLE_DEV_PM_OPS in the ACPI battery driver, make it
         use devm_ for initializing mutexes and allocating driver data, and
         make it check the register_pm_notifier() return value (Thomas
         Weißschuh, Andy Shevchenko)

       - Make the ACPI EC driver support compile-time conditional and allow
         ACPI to be built without CONFIG_HAS_IOPORT (Arnd Bergmann)

       - Remove a redundant error check from the pfr_telemetry driver (Colin
         Ian King)

       - Rearrange the processor_perflib code in the ACPI processor driver
         to avoid compiling x86-specific code on other architectures (Arnd
         Bergmann)

       - Add adev NULL check to acpi_quirk_skip_serdev_enumeration() and
         make UART skip quirks work on PCI UARTs without an UID (Hans de
         Goede)

       - Force native backlight handling Apple MacbookPro11,2 and Air7,2 in
         the ACPI video driver (Jonathan Denose)

       - Switch several ACPI platform drivers back to using struct
         platform_driver::remove() (Uwe Kleine-König)

       - Replace strcpy() with strscpy() in multiple places in the ACPI
         subsystem (Muhammad Qasim Abdul Majeed, Abdul Rahim)"

    * tag 'acpi-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (24 commits)
      ACPI: video: force native for Apple MacbookPro11,2 and Air7,2
      ACPI: CPPC: Fix _CPC register setting issue
      ACPI: Switch back to struct platform_driver::remove()
      ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
      ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
      ACPI: allow building without CONFIG_HAS_IOPORT
      ACPI: processor_perflib: extend X86 dependency
      ACPI: scan: Use strscpy() instead of strcpy()
      ACPI: SBSHC: Use strscpy() instead of strcpy()
      ACPI: SBS: Use strscpy() instead of strcpy()
      ACPI: power: Use strscpy() instead of strcpy()
      ACPI: pci_root: Use strscpy() instead of strcpy()
      ACPI: pci_link: Use strscpy() instead of strcpy()
      ACPI: event: Use strscpy() instead of strcpy()
      ACPI: EC: Use strscpy() instead of strcpy()
      ACPI: APD: Use strscpy() instead of strcpy()
      ACPI: thermal: Use strscpy() instead of strcpy()
      ACPI: battery: Check for error code from devm_mutex_init() call
      ACPI: EC: make EC support compile-time conditional
      ACPI: pfr_telemetry: remove redundant error check on ret
      ...