[ibm-acpi-devel] [PATCH] ACPI: thinkpad-acpi: fix the module init failure path

2007-07-27 Thread Henrique de Moraes Holschuh
Thomas Renninger reports that if one tries to load thinkpad-acpi in a non-thinkpad, one gets: Call Trace: [] kref_get+0x2f/0x36 [] kobject_get+0x12/0x17 [] get_driver+0x14/0x1a [] driver_remove_file+0x11/0x32 [] :thinkpad_acpi:thinkpad_acpi_module_exit+0xa8/0xfc [] :thinkpad_acpi:thinkpad_ac

Re: [ibm-acpi-devel] [PATCH] Fwd: Re: /proc/acpi/ibm/volume broken on X20 since 2.6.22

2007-07-27 Thread Henrique de Moraes Holschuh
This patch is against which version of thinkpad-acpi? The one in 2.6.21? Also, next time please use diff -up to create the patch. > --- 2743,2750 > cmos_cmd = value > current_value ? TP_CMOS_BRIGHTNESS_UP : > TP_CMOS_BRIGHTNESS_DOWN; > inc = value > current_value ? 1 : -1; >