]> err.no Git - linux-2.6/commit
[PATCH] shpchp: fix oops at driver unload
authorrajesh.shah@intel.com <rajesh.shah@intel.com>
Thu, 13 Oct 2005 19:05:44 +0000 (12:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 22:37:01 +0000 (15:37 -0700)
commitc2608a111b621d5cf0e4c2876d79e67333ce5341
tree0e90b0bc85f026c74434f132760d7a4e12cf4eab
parent7c8942f993dc069db0e0327a343bbec8a6e96074
[PATCH] shpchp: fix oops at driver unload

At unload time, the shpchp driver does not remove sysfs files
it had created in the driver's probe entry point. This patch
fixes this problem.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_sysfs.c