summaryrefslogtreecommitdiffstats
path: root/thinkpad-acpi-fix-backlight.patch
diff options
context:
space:
mode:
authorChuck Ebbert <cebbert@redhat.com>2011-03-25 19:20:21 -0400
committerChuck Ebbert <cebbert@redhat.com>2011-03-25 19:20:21 -0400
commitcf8d6fcbcdd8e3e56d88e37e3326e078cade7bbb (patch)
tree83993819554e10a73834e80f422b46488d62e652 /thinkpad-acpi-fix-backlight.patch
parent1121f6ddf0ae873b09f67eb45ce6c57ed6d9e81d (diff)
downloadkernel-cf8d6fcbcdd8e3e56d88e37e3326e078cade7bbb.tar.gz
kernel-cf8d6fcbcdd8e3e56d88e37e3326e078cade7bbb.tar.xz
kernel-cf8d6fcbcdd8e3e56d88e37e3326e078cade7bbb.zip
Drop unused patches already applied upstream
Diffstat (limited to 'thinkpad-acpi-fix-backlight.patch')
-rw-r--r--thinkpad-acpi-fix-backlight.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/thinkpad-acpi-fix-backlight.patch b/thinkpad-acpi-fix-backlight.patch
deleted file mode 100644
index 5ed2544fe..000000000
--- a/thinkpad-acpi-fix-backlight.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff -up linux-2.6.34.noarch/drivers/platform/x86/thinkpad_acpi.c.orig linux-2.6.34.noarch/drivers/platform/x86/thinkpad_acpi.c
---- linux-2.6.34.noarch/drivers/platform/x86/thinkpad_acpi.c.orig 2010-05-17 16:28:13.254200070 -0400
-+++ linux-2.6.34.noarch/drivers/platform/x86/thinkpad_acpi.c 2010-05-17 16:29:56.471200083 -0400
-@@ -3397,7 +3397,7 @@ static int __init hotkey_init(struct ibm
- /* update bright_acpimode... */
- tpacpi_check_std_acpi_brightness_support();
-
-- if (tp_features.bright_acpimode && acpi_video_backlight_support()) {
-+ if (acpi_video_backlight_support()) {
- printk(TPACPI_INFO
- "This ThinkPad has standard ACPI backlight "
- "brightness control, supported by the ACPI "
-@@ -6189,26 +6189,24 @@ static int __init brightness_init(struct
- * going to publish a backlight interface
- */
- b = tpacpi_check_std_acpi_brightness_support();
-- if (b > 0) {
-
-- if (acpi_video_backlight_support()) {
-- if (brightness_enable > 1) {
-- printk(TPACPI_NOTICE
-- "Standard ACPI backlight interface "
-- "available, not loading native one.\n");
-- return 1;
-- } else if (brightness_enable == 1) {
-- printk(TPACPI_NOTICE
-- "Backlight control force enabled, even if standard "
-- "ACPI backlight interface is available\n");
-- }
-- } else {
-- if (brightness_enable > 1) {
-- printk(TPACPI_NOTICE
-- "Standard ACPI backlight interface not "
-- "available, thinkpad_acpi native "
-- "brightness control enabled\n");
-- }
-+ if (acpi_video_backlight_support()) {
-+ if (brightness_enable > 1) {
-+ printk(TPACPI_NOTICE
-+ "Standard ACPI backlight interface "
-+ "available, not loading native one.\n");
-+ return 1;
-+ } else if (brightness_enable == 1) {
-+ printk(TPACPI_NOTICE
-+ "Backlight control force enabled, even if standard "
-+ "ACPI backlight interface is available\n");
-+ }
-+ } else {
-+ if (brightness_enable > 1) {
-+ printk(TPACPI_NOTICE
-+ "Standard ACPI backlight interface not "
-+ "available, thinkpad_acpi native "
-+ "brightness control enabled\n");
- }
- }
-