Skip to content

ACPI: support system events for .notify

Bjorn Helgaas linux-acpi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 6 patches 2 repliesIn review

4 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6ACPI: ac: use .notify method instead of installing handler directlydrivers/acpi/ac.c+5 -150 replies
4/6ACPI: asus-laptop: use .notify method instead of installing handler directlydrivers/platform/x86/asus-laptop.c+5 -180 replies
5/6ACPI: asus-acpi: use .notify method instead of installing handler directlydrivers/platform/x86/asus_acpi.c+13 -170 replies
6/6ACPI: eeepc-laptop: use .notify method instead of installing handler directlydrivers/platform/x86/eeepc-laptop.c+6 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] ACPI: support system events for .notify

This series extends the .notify method I recently added so drivers can request system notification events as well as device-specific events. This simplifies some drivers a bit.

Comments welcome.

---

Bjorn Helgaas (6):
ACPI: eeepc-laptop: use .notify method instead of installing handler directly
ACPI: asus-acpi: use .notify method instead of installing handler directly
ACPI: asus-laptop: use .notify method instead of installing handler directly
ACPI: battery: use .notify method instead of installing handler directly
ACPI: ac: use .notify method instead of installing handler directly
ACPI: allow drivers to request both device and system notify events

 drivers/acpi/ac.c                   |   20 +++++---------------
 drivers/acpi/battery.c              |   22 +++++-----------------
 drivers/acpi/bus.c                  |    6 +++++-
 drivers/platform/x86/asus-laptop.c  |   23 +++++------------------
 drivers/platform/x86/asus_acpi.c    |   30 +++++++++++++-----------------
 drivers/platform/x86/eeepc-laptop.c |   19 ++++++-------------
 include/acpi/acpi_bus.h             |    3 +++
 7 files changed, 42 insertions(+), 81 deletions(-)

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf