From: Chuck Ebbert Date: Wed, 9 May 2007 22:05:48 +0000 (-0700) Subject: ACPI: dock: fix opps after dock driver fails to initialize X-Git-Tag: v2.6.23-rc1~17^2~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22fe4c2114e29477ca6738729c074ee8f60d3b73;p=pandora-kernel.git ACPI: dock: fix opps after dock driver fails to initialize The driver tests the dock_station pointer for nonnull to check whether it has initialized properly. But in some cases dock_station will be non-null after being freed when driver init fails. Fix by zeroing the pointer after freeing. Signed-off-by: Chuck Ebbert Signed-off-by: Kristen Carlson Accardi Signed-off-by: Len Brown --- Reading git-diff-tree failed