Lines Matching +full:power +full:- +full:button
1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <acpi/button.h>
8 MODULE_DESCRIPTION("ACPI Tiny Power Button Driver");
13 MODULE_PARM_DESC(power_signal, "Power button sends this signal to init");
42 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) { in acpi_tiny_power_button_add()
47 status = acpi_install_notify_handler(device->handle, in acpi_tiny_power_button_add()
53 return -ENODEV; in acpi_tiny_power_button_add()
60 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) { in acpi_tiny_power_button_remove()
64 acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, in acpi_tiny_power_button_remove()
71 .name = "tiny-power-button",
72 .class = "tiny-power-button",