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()506 phantom_class = class_create("phantom"); in phantom_init()507 if (IS_ERR(phantom_class)) { in phantom_init()508 retval = PTR_ERR(phantom_class); in phantom_init()512 retval = class_create_file(phantom_class, &class_attr_version.attr); in phantom_init()538 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_init()540 class_destroy(phantom_class); in phantom_init()551 class_remove_file(phantom_class, &class_attr_version.attr); in phantom_exit()[all …]