mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 05:40:53 +07:00
352fa202c3
This patch adds a .notify() method. The presence of .notify() causes Linux/ACPI to manage event handlers and notify handlers on our behalf, so we don't have to install and remove them ourselves. This driver relies on seeing system notify events, not device-specific ones (because it used ACPI_SYSTEM_NOTIFY). We use the ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag to request all events, then just ignore any device events we get. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> CC: Corentin Chary <corentincj@iksaif.net> CC: Karol Kozimor <sziwan@users.sourceforge.net> CC: acpi4asus-user@lists.sourceforge.net Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
acer-wmi.c | ||
asus_acpi.c | ||
asus-laptop.c | ||
compal-laptop.c | ||
dell-laptop.c | ||
dell-wmi.c | ||
eeepc-laptop.c | ||
fujitsu-laptop.c | ||
hp-wmi.c | ||
intel_menlow.c | ||
Kconfig | ||
Makefile | ||
msi-laptop.c | ||
panasonic-laptop.c | ||
sony-laptop.c | ||
tc1100-wmi.c | ||
thinkpad_acpi.c | ||
toshiba_acpi.c | ||
wmi.c |