init.c (1c4841ccbd2b185587010d6178aac11953f61d4c) | init.c (077cdb355b3d8ee0f258856962e6dac06e744401) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ 3#include <linux/init.h> 4#include <linux/kernel.h> 5#include <linux/module.h> 6#include <linux/slab.h> 7#include <linux/pci.h> 8#include <linux/interrupt.h> --- 774 unchanged lines hidden (view full) --- 783err_idxd_driver_register: 784 idxd_unregister_bus_type(); 785 return err; 786} 787module_init(idxd_init_module); 788 789static void __exit idxd_exit_module(void) 790{ | 1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ 3#include <linux/init.h> 4#include <linux/kernel.h> 5#include <linux/module.h> 6#include <linux/slab.h> 7#include <linux/pci.h> 8#include <linux/interrupt.h> --- 774 unchanged lines hidden (view full) --- 783err_idxd_driver_register: 784 idxd_unregister_bus_type(); 785 return err; 786} 787module_init(idxd_init_module); 788 789static void __exit idxd_exit_module(void) 790{ |
791 idxd_unregister_driver(); |
|
791 pci_unregister_driver(&idxd_pci_driver); 792 idxd_cdev_remove(); 793 idxd_unregister_bus_type(); 794 perfmon_exit(); 795} 796module_exit(idxd_exit_module); | 792 pci_unregister_driver(&idxd_pci_driver); 793 idxd_cdev_remove(); 794 idxd_unregister_bus_type(); 795 perfmon_exit(); 796} 797module_exit(idxd_exit_module); |