Searched refs:phantom_class (Results 1 – 1 of 1) sorted by relevance
38 static struct class *phantom_class; variable406 if (IS_ERR(device_create(phantom_class, &pdev->dev, in phantom_probe()439 device_destroy(phantom_class, MKDEV(phantom_major, minor)); in phantom_remove()510 phantom_class = class_create(THIS_MODULE, "phantom"); in phantom_init()511 if (IS_ERR(phantom_class)) { in phantom_init()512 retval = PTR_ERR(phantom_class); in phantom_init()516 retval = class_create_file(phantom_class, &class_attr_version.attr); in phantom_init()542 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_init()544 class_destroy(phantom_class); in phantom_init()555 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_exit()[all …]