Searched refs:phantom_class (Results 1 – 1 of 1) sorted by relevance
42 static struct class *phantom_class; variable410 if (IS_ERR(device_create(phantom_class, &pdev->dev, in phantom_probe()443 device_destroy(phantom_class, MKDEV(phantom_major, minor)); in phantom_remove()514 phantom_class = class_create(THIS_MODULE, "phantom"); in phantom_init()515 if (IS_ERR(phantom_class)) { in phantom_init()516 retval = PTR_ERR(phantom_class); in phantom_init()520 retval = class_create_file(phantom_class, &class_attr_version.attr); in phantom_init()546 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_init()548 class_destroy(phantom_class); in phantom_init()559 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_exit()[all …]