Home
last modified time | relevance | path

Searched refs:acpi_button_dir (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dbutton.c189 static struct proc_dir_entry *acpi_button_dir; variable
308 if (acpi_button_dir || acpi_lid_dir) { in acpi_button_add_fs()
314 acpi_button_dir = proc_mkdir(ACPI_BUTTON_CLASS, acpi_root_dir); in acpi_button_add_fs()
315 if (!acpi_button_dir) in acpi_button_add_fs()
319 acpi_lid_dir = proc_mkdir(ACPI_BUTTON_SUBCLASS_LID, acpi_button_dir); in acpi_button_add_fs()
349 remove_proc_entry(ACPI_BUTTON_SUBCLASS_LID, acpi_button_dir); in acpi_button_add_fs()
353 acpi_button_dir = NULL; in acpi_button_add_fs()
369 remove_proc_entry(ACPI_BUTTON_SUBCLASS_LID, acpi_button_dir); in acpi_button_remove_fs()
372 acpi_button_dir = NULL; in acpi_button_remove_fs()