Searched refs:mtd_class (Results 1 – 1 of 1) sorted by relevance
72 static struct class mtd_class = { variable174 device_destroy(&mtd_class, index + 1); in mtd_release()460 mtd->dev.class = &mtd_class; in add_mtd_device()468 device_create(&mtd_class, mtd->dev.parent, in add_mtd_device()1683 ret = class_register(&mtd_class); in init_mtd()1715 class_unregister(&mtd_class); in init_mtd()1726 class_unregister(&mtd_class); in cleanup_mtd()