aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-16 16:27:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 01:10:15 +0200
commit7f3b62cf945dc3e57fbd693022a5651206ce85b0 (patch)
tree07331475af6cd6b9d5d733343c1fb03f6b886664 /drivers/acpi
parentapple-gmux: Stop using acpi_video_dmi_demote_vendor() (diff)
downloadlinux-dev-7f3b62cf945dc3e57fbd693022a5651206ce85b0.tar.xz
linux-dev-7f3b62cf945dc3e57fbd693022a5651206ce85b0.zip
acpi-video-detect: Remove the unused acpi_video_dmi_demote_vendor() function
Remove the now unused acpi_video_dmi_demote_vendor() function, this was never a proper counter part of acpi_video_dmi_promote_vendor() since the calls to acpi_video_dmi_promote_vendor() are not counted. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/video_detect.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index be825802b228..bb78c9e16113 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -258,15 +258,6 @@ void acpi_video_dmi_promote_vendor(void)
}
EXPORT_SYMBOL(acpi_video_dmi_promote_vendor);
-/* To be called when a driver who previously promoted the vendor
- * interface */
-void acpi_video_dmi_demote_vendor(void)
-{
- acpi_video_caps_check();
- acpi_video_support &= ~ACPI_VIDEO_BACKLIGHT_DMI_VENDOR;
-}
-EXPORT_SYMBOL(acpi_video_dmi_demote_vendor);
-
/* Returns true if video.ko can do backlight switching */
int acpi_video_backlight_support(void)
{