ACPI: thinkpad-acpi: improve dock subdriver initialization
commit968f9e0981f426138d9bf28790fa5a8054b6d6b6
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 26 Apr 2007 14:27:15 +0000 (26 11:27 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 9 Sep 2007 02:15:01 +0000 (8 23:15 -0300)
treee4dc8d9db131adaa7db32a48452d2d5673787afd
parent6ddbe51a3c94ef5a8cbd0bf7336151d819c3af90
ACPI: thinkpad-acpi: improve dock subdriver initialization

The dock sub-driver has split-personality (two subdrivers), and it was
doing some unoptimal things on init because of that.  Fix it so that the
second half of it will only init when necessary, and only if the first half
initialized sucessfully in the first place.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/misc/thinkpad_acpi.c