Skip to content

Commit

Permalink
thinkpad-acpi: fix initialization error paths
Browse files Browse the repository at this point in the history
Rework some subdriver init and exit handlers, in order to fix some
initialization error paths that were missing, or broken.

Hitting those bugs should be extremely rare in the real world, but should
that happen, thinkpad-acpi would fail to dealocate some resources and a
reboot might well be needed to be able to load the driver again.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Jun 11, 2008
1 parent 197a2cd commit 9c0a76e
Showing 1 changed file with 230 additions and 207 deletions.
Loading

0 comments on commit 9c0a76e

Please sign in to comment.