ACPI: Schedule /proc/acpi/event for removal
Schedule /proc/acpi/event for removal in 6 months. Re-name acpi_bus_generate_event() to acpi_bus_generate_proc_event() to make sure there is no confusion that it is for /proc/acpi/event only. Add CONFIG_ACPI_PROC_EVENT to allow removal of /proc/acpi/event. There is no functional change if CONFIG_ACPI_PROC_EVENT=y Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -440,7 +440,7 @@ static int acpi_sbs_generate_event(struct acpi_device *device,
|
||||
strcpy(acpi_device_bid(device), bid);
|
||||
strcpy(acpi_device_class(device), class);
|
||||
|
||||
result = acpi_bus_generate_event(device, event, state);
|
||||
result = acpi_bus_generate_proc_event(device, event, state);
|
||||
|
||||
strcpy(acpi_device_bid(device), bid_saved);
|
||||
strcpy(acpi_device_class(device), class_saved);
|
||||
|
Reference in New Issue
Block a user