Re: [ibm-acpi-devel] [2.6.23 regression fix] fix thinkpad_acpi without hardware

2007-08-05 Thread Henrique de Moraes Holschuh
On Sun, 05 Aug 2007, Adrian Bunk wrote: > René Treffer reported that booting a CONFIG_THINKPAD_ACPI=y kernel on a > machine without the hardware results in an Oops. > > The trace is thinkpad_acpi_module_init -> thinkpad_acpi_module_exit -> > driver_remove_file -> sysfs_hash_and_remove. > > The

[ibm-acpi-devel] [2.6.23 regression fix] fix thinkpad_acpi without hardware

2007-08-05 Thread Adrian Bunk
René Treffer reported that booting a CONFIG_THINKPAD_ACPI=y kernel on a machine without the hardware results in an Oops. The trace is thinkpad_acpi_module_init -> thinkpad_acpi_module_exit -> driver_remove_file -> sysfs_hash_and_remove. The error handling if thinkpad_acpi_module_init() fails ge