OSDN Git Service

ACPI: bus: Simplify installation and removal of notify callback
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 4 Jun 2023 15:23:40 +0000 (17:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jun 2023 17:48:09 +0000 (19:48 +0200)
commit365eac5ef2febeea75432b0c5257271fed93bcc5
tree33a7c2606fce15c79479a78979f420f361dd9364
parentff1d7aea83e2ea805b060d6a2f0623e41e3e4158
ACPI: bus: Simplify installation and removal of notify callback

Because the only drivers that cared about button fixed events take care
of those events by themselves now, eliminate the code related to them
from acpi_device_install_notify_handler() and
acpi_device_remove_notify_handler().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c