Searched refs:mtd_class (Results 1 – 1 of 1) sorted by relevance
63 static struct class mtd_class = { variable96 device_destroy(&mtd_class, index + 1); in mtd_release()670 mtd->dev.class = &mtd_class; in add_mtd_device()686 device_create(&mtd_class, mtd->dev.parent, MTD_DEVT(i) + 1, NULL, in add_mtd_device()1965 ret = class_register(&mtd_class); in init_mtd()1990 class_unregister(&mtd_class); in init_mtd()2002 class_unregister(&mtd_class); in cleanup_mtd()