mirror of https://gitee.com/openkylin/linux.git
ehea: Fix workqueue handling
Fix: Workqueue ehea_driver_wq was not destroyed Signed-off-by: Thomas Klein <tklein@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
76b9cfccb3
commit
f46f6ba99b
|
@ -39,7 +39,7 @@
|
|||
#include <asm/io.h>
|
||||
|
||||
#define DRV_NAME "ehea"
|
||||
#define DRV_VERSION "EHEA_0072"
|
||||
#define DRV_VERSION "EHEA_0073"
|
||||
|
||||
/* eHEA capability flags */
|
||||
#define DLPAR_PORT_ADD_REM 1
|
||||
|
|
|
@ -3099,6 +3099,7 @@ int __init ehea_module_init(void)
|
|||
|
||||
static void __exit ehea_module_exit(void)
|
||||
{
|
||||
destroy_workqueue(ehea_driver_wq);
|
||||
driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities);
|
||||
ibmebus_unregister_driver(&ehea_driver);
|
||||
ehea_destroy_busmap();
|
||||
|
|
Loading…
Reference in New Issue