summaryrefslogtreecommitdiff
path: root/include/linux/thinkpad_acpi.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-11-26 19:47:47 +0300
committerTakashi Iwai <tiwai@suse.de>2018-11-29 01:26:52 +0300
commit9e908a180e6a90fa102d5d3f96ca86825f43e4fb (patch)
tree1109bcce20ef7de6954106adc8d4de8d2f8500a5 /include/linux/thinkpad_acpi.h
parentf783e128a6f1484d72ceab06d483ea32df0ce333 (diff)
downloadlinux-9e908a180e6a90fa102d5d3f96ca86825f43e4fb.tar.xz
platform/x86: thinkpad_acpi: Drop superfluous exported function
Since we've switched to the LED trigger for binding with HD-audio, we can drop the exported function as well as the whole linux/thinkpad_acpi.h. The own TPACPI_LED_MUTE and TPACPI_LED_MICMUTE definitions are replaced with the identical ones for LEDS, i.e. LED_AUDIO_MUTE and LED_AUDIO_MICMUTE, respectively. They are no longer needed as referred only locally. Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/thinkpad_acpi.h')
-rw-r--r--include/linux/thinkpad_acpi.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/thinkpad_acpi.h b/include/linux/thinkpad_acpi.h
deleted file mode 100644
index 9fb317970c01..000000000000
--- a/include/linux/thinkpad_acpi.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __THINKPAD_ACPI_H__
-#define __THINKPAD_ACPI_H__
-
-/* These two functions return 0 if success, or negative error code
- (e g -ENODEV if no led present) */
-
-enum {
- TPACPI_LED_MUTE,
- TPACPI_LED_MICMUTE,
- TPACPI_LED_MAX,
-};
-
-int tpacpi_led_set(int whichled, bool on);
-
-#endif