]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: PAD: Rearrange notify handler installation and removal
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Mar 2026 20:11:22 +0000 (21:11 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 9 Mar 2026 19:17:57 +0000 (20:17 +0100)
commit6e5cbf46c27ae46f13c7ac830e618c6e0b1ed07c
tree82c55ba8bc436b47df145fbcfbf42922ccf634b1
parent6a0c7d388b6a19899ab0db60325699980706fb11
ACPI: PAD: Rearrange notify handler installation and removal

Use acpi_dev_install_notify_handler() and acpi_dev_remove_notify_handler()
for installing and removing the ACPI notify handler, respectively, which
allows acpi_pad_notify() and acpi_pad_remove() to be simplified quite a
bit.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2011993.taCxCBeP46@rafael.j.wysocki
drivers/acpi/acpi_pad.c