diff options
Diffstat (limited to 'drivers/net/ehea/ehea_main.c')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 2b98ee80fa33..043d99013056 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -3721,7 +3721,7 @@ int __init ehea_module_init(void) | |||
3721 | if (ret) | 3721 | if (ret) |
3722 | ehea_info("failed registering memory remove notifier"); | 3722 | ehea_info("failed registering memory remove notifier"); |
3723 | 3723 | ||
3724 | ret = crash_shutdown_register(&ehea_crash_handler); | 3724 | ret = crash_shutdown_register(ehea_crash_handler); |
3725 | if (ret) | 3725 | if (ret) |
3726 | ehea_info("failed registering crash handler"); | 3726 | ehea_info("failed registering crash handler"); |
3727 | 3727 | ||
@@ -3746,7 +3746,7 @@ out3: | |||
3746 | out2: | 3746 | out2: |
3747 | unregister_memory_notifier(&ehea_mem_nb); | 3747 | unregister_memory_notifier(&ehea_mem_nb); |
3748 | unregister_reboot_notifier(&ehea_reboot_nb); | 3748 | unregister_reboot_notifier(&ehea_reboot_nb); |
3749 | crash_shutdown_unregister(&ehea_crash_handler); | 3749 | crash_shutdown_unregister(ehea_crash_handler); |
3750 | out: | 3750 | out: |
3751 | return ret; | 3751 | return ret; |
3752 | } | 3752 | } |
@@ -3759,7 +3759,7 @@ static void __exit ehea_module_exit(void) | |||
3759 | driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities); | 3759 | driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities); |
3760 | ibmebus_unregister_driver(&ehea_driver); | 3760 | ibmebus_unregister_driver(&ehea_driver); |
3761 | unregister_reboot_notifier(&ehea_reboot_nb); | 3761 | unregister_reboot_notifier(&ehea_reboot_nb); |
3762 | ret = crash_shutdown_unregister(&ehea_crash_handler); | 3762 | ret = crash_shutdown_unregister(ehea_crash_handler); |
3763 | if (ret) | 3763 | if (ret) |
3764 | ehea_info("failed unregistering crash handler"); | 3764 | ehea_info("failed unregistering crash handler"); |
3765 | unregister_memory_notifier(&ehea_mem_nb); | 3765 | unregister_memory_notifier(&ehea_mem_nb); |