commit | 22fe4c2114e29477ca6738729c074ee8f60d3b73 | [log] [tgz] |
---|---|---|
author | Chuck Ebbert <cebbert@redhat.com> | Wed May 09 15:05:48 2007 -0700 |
committer | Len Brown <len.brown@intel.com> | Thu May 10 03:30:41 2007 -0400 |
tree | af07c5267dd3d66b75bc4d3083eb2e946393f09f | |
parent | 38ff4ffc039ba5a5878f2dcbb03d87c3a1f02f1b [diff] |
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 <cebbert@redhat.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>