diff options
| -rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 9e701b2256f9..0df03e2c1e91 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c | |||
| @@ -1730,14 +1730,14 @@ static int __init samsung_init(void) | |||
| 1730 | samsung->handle_backlight = false; | 1730 | samsung->handle_backlight = false; |
| 1731 | } else if (samsung->quirks->broken_acpi_video) { | 1731 | } else if (samsung->quirks->broken_acpi_video) { |
| 1732 | pr_info("Disabling ACPI video driver\n"); | 1732 | pr_info("Disabling ACPI video driver\n"); |
| 1733 | acpi_video_unregister(); | 1733 | acpi_video_unregister_backlight(); |
| 1734 | } | 1734 | } |
| 1735 | 1735 | ||
| 1736 | if (samsung->quirks->use_native_backlight) { | 1736 | if (samsung->quirks->use_native_backlight) { |
| 1737 | pr_info("Using native backlight driver\n"); | 1737 | pr_info("Using native backlight driver\n"); |
| 1738 | /* Tell acpi-video to not handle the backlight */ | 1738 | /* Tell acpi-video to not handle the backlight */ |
| 1739 | acpi_video_dmi_promote_vendor(); | 1739 | acpi_video_dmi_promote_vendor(); |
| 1740 | acpi_video_unregister(); | 1740 | acpi_video_unregister_backlight(); |
| 1741 | /* And also do not handle it ourselves */ | 1741 | /* And also do not handle it ourselves */ |
| 1742 | samsung->handle_backlight = false; | 1742 | samsung->handle_backlight = false; |
| 1743 | } | 1743 | } |
