diff options
author | 2019-10-26 22:24:36 +0200 | |
---|---|---|
committer | 2019-10-28 15:40:26 +0100 | |
commit | e346d0cf2c0a2dc9e63d5b90824bbe5ac0cc43e2 (patch) | |
tree | f2b865869949f29afa682bfb41471f53ceac010e /include/acpi | |
parent | ACPI: button: Add DMI quirk for Asus T200TA (diff) | |
download | linux-e346d0cf2c0a2dc9e63d5b90824bbe5ac0cc43e2.tar.gz linux-e346d0cf2c0a2dc9e63d5b90824bbe5ac0cc43e2.tar.bz2 linux-e346d0cf2c0a2dc9e63d5b90824bbe5ac0cc43e2.zip |
ACPI: button: Remove unused acpi_lid_notifier_[un]register() functions
There are no users of the acpi_lid_notifier_[un]register functions,
so lets remove them.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/button.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/acpi/button.h b/include/acpi/button.h index 3a2b8535dec6..340da7784cc8 100644 --- a/include/acpi/button.h +++ b/include/acpi/button.h @@ -2,21 +2,9 @@ #ifndef ACPI_BUTTON_H #define ACPI_BUTTON_H -#include <linux/notifier.h> - #if IS_ENABLED(CONFIG_ACPI_BUTTON) -extern int acpi_lid_notifier_register(struct notifier_block *nb); -extern int acpi_lid_notifier_unregister(struct notifier_block *nb); extern int acpi_lid_open(void); #else -static inline int acpi_lid_notifier_register(struct notifier_block *nb) -{ - return 0; -} -static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) -{ - return 0; -} static inline int acpi_lid_open(void) { return 1; |