Searched refs:nd_class (Results 1 – 2 of 2) sorted by relevance
29 struct class *nd_class; variable741 dev = device_create(nd_class, &nvdimm_bus->dev, devt, nvdimm_bus, in nvdimm_bus_create_ndctl()752 device_destroy(nd_class, MKDEV(nvdimm_bus_major, nvdimm_bus->id)); in nvdimm_bus_destroy_ndctl()1307 nd_class = class_create(THIS_MODULE, "nd"); in nvdimm_bus_init()1308 if (IS_ERR(nd_class)) { in nvdimm_bus_init()1309 rc = PTR_ERR(nd_class); in nvdimm_bus_init()1320 class_destroy(nd_class); in nvdimm_bus_init()1334 class_destroy(nd_class); in nvdimm_bus_exit()
188 extern struct class *nd_class;211 else if (dev->class && dev->class == nd_class) in debug_nvdimm_lock()