コード例 #1
0
ファイル: ide.c プロジェクト: percy-g2/rowboat-kernel
static void __exit ide_exit(void)
{
    proc_ide_destroy();

    class_destroy(ide_port_class);

    bus_unregister(&ide_bus_type);
}
コード例 #2
0
ファイル: ide.c プロジェクト: NikhilNJ/screenplay-dx
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);
}