Searched refs:class_pktcdvd (Results 1 – 1 of 1) sorted by relevance
103 static struct class *class_pktcdvd = NULL; /* /sys/class/pktcdvd */ variable316 if (class_pktcdvd) { in pkt_sysfs_dev_new()317 pd->dev = device_create(class_pktcdvd, NULL, MKDEV(0, 0), NULL, in pkt_sysfs_dev_new()336 if (class_pktcdvd) in pkt_sysfs_dev_remove()413 ATTRIBUTE_GROUPS(class_pktcdvd);423 class_pktcdvd = kzalloc(sizeof(*class_pktcdvd), GFP_KERNEL); in pkt_sysfs_init()424 if (!class_pktcdvd) in pkt_sysfs_init()426 class_pktcdvd->name = DRIVER_NAME; in pkt_sysfs_init()427 class_pktcdvd->owner = THIS_MODULE; in pkt_sysfs_init()428 class_pktcdvd->class_release = class_pktcdvd_release; in pkt_sysfs_init()[all …]