ACPI: Remove the old /proc/acpi/event interface
It is quite some time that this one has been deprecated. Get rid of it. Should some really important user be overseen, it may be reverted and the userspace program worked on first, but it is time to do something to get rid of this old stuff... Signed-off-by: Thomas Renninger <trenn@suse.de> Acked-by: Matthew Garrett <matthew.garrett@nebula.com> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
ad81f0545e
commit
1696d9dc57
@@ -2282,10 +2282,6 @@ static struct tp_acpi_drv_struct ibm_hotkey_acpidriver;
|
||||
static void tpacpi_hotkey_send_key(unsigned int scancode)
|
||||
{
|
||||
tpacpi_input_send_key_masked(scancode);
|
||||
if (hotkey_report_mode < 2) {
|
||||
acpi_bus_generate_proc_event(ibm_hotkey_acpidriver.device,
|
||||
0x80, TP_HKEY_EV_HOTKEY_BASE + scancode);
|
||||
}
|
||||
}
|
||||
|
||||
static void hotkey_read_nvram(struct tp_nvram_state *n, const u32 m)
|
||||
@@ -3737,13 +3733,6 @@ static void hotkey_notify(struct ibm_struct *ibm, u32 event)
|
||||
"event happened to %s\n", TPACPI_MAIL);
|
||||
}
|
||||
|
||||
/* Legacy events */
|
||||
if (!ignore_acpi_ev &&
|
||||
(send_acpi_ev || hotkey_report_mode < 2)) {
|
||||
acpi_bus_generate_proc_event(ibm->acpi->device,
|
||||
event, hkey);
|
||||
}
|
||||
|
||||
/* netlink events */
|
||||
if (!ignore_acpi_ev && send_acpi_ev) {
|
||||
acpi_bus_generate_netlink_event(
|
||||
|
Reference in New Issue
Block a user