g_cosm_class 22 drivers/misc/mic/cosm/cosm_main.c static struct class *g_cosm_class; g_cosm_class 256 drivers/misc/mic/cosm/cosm_main.c cdev->sdev = device_create_with_groups(g_cosm_class, cdev->dev.parent, g_cosm_class 276 drivers/misc/mic/cosm/cosm_main.c device_destroy(g_cosm_class, MKDEV(0, cdev->index)); g_cosm_class 287 drivers/misc/mic/cosm/cosm_main.c device_destroy(g_cosm_class, MKDEV(0, cdev->index)); g_cosm_class 346 drivers/misc/mic/cosm/cosm_main.c g_cosm_class = class_create(THIS_MODULE, cosm_driver_name); g_cosm_class 347 drivers/misc/mic/cosm/cosm_main.c if (IS_ERR(g_cosm_class)) { g_cosm_class 348 drivers/misc/mic/cosm/cosm_main.c ret = PTR_ERR(g_cosm_class); g_cosm_class 362 drivers/misc/mic/cosm/cosm_main.c class_destroy(g_cosm_class); g_cosm_class 372 drivers/misc/mic/cosm/cosm_main.c class_destroy(g_cosm_class);