ACPI: Install notify or event handlers in ACPI button drivers
Get series with b4
b4 am 1847933.atdPhlSkOF@kreacherVersions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ACPI: button: Eliminate the driver notify callbackdrivers/ | +96 | 1 reply | |
| 2/4 | ACPI: button: Use different notify handlers for lid and buttonsdrivers/ | +24 | 0 replies | |
| 3/4 | ACPI: tiny-power-button: Eliminate the driver notify callbackdrivers/ | +41 | 0 replies | |
| 4/4 | ACPI: bus: Simplify installation and removal of notify callbackdrivers/ | +9 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Michal Wilczynski |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFT][PATCH v1 0/4] ACPI: Install notify or event handlers in ACPI button drivers
Hi Folks,
This series reworks the two ACPI button drivers to install notify or fixed event handlers (depending on the device type) by themselves, so the core code need not take the "fixed event handler for a button driver" case in the general driver notify handler installer.
As a bonus, it separates the notify handler in the "generic" button driver into a lid notify handler and a proper button notify handler.
It modifies also the core to drop the "fixed event handler for a button driver" case from there (last patch).
It works for me, but I would appreciate as much testing of this as possible especially on old hardware.
Obviously, it replaces
and its followers to some extent, but I think that it's better to deal with the special case first and then take care of the rest.
Thanks!