예제 #1
0
static void __exit ide_exit(void)
{
    proc_ide_destroy();

    class_destroy(ide_port_class);

    bus_unregister(&ide_bus_type);
}
예제 #2
0
void __exit cleanup_module (void)
{
	int index;

	for (index = 0; index < MAX_HWIFS; ++index)
		ide_unregister(index);

#ifdef CONFIG_BLK_DEV_IDEPNP
	pnpide_exit();
#endif

	proc_ide_destroy();

	bus_unregister(&ide_bus_type);
}