Searched refs:clsdev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/misc/mei/ |
H A D | main.c | 1114 struct device *clsdev; in mei_set_devstate() local 1121 clsdev = class_find_device_by_devt(&mei_class, dev->cdev.dev); in mei_set_devstate() 1122 if (clsdev) { in mei_set_devstate() 1123 sysfs_notify(&clsdev->kobj, NULL, "dev_state"); in mei_set_devstate() 1124 put_device(clsdev); in mei_set_devstate() 1218 struct device *clsdev; /* class device */ in mei_register() local 1238 clsdev = device_create_with_groups(&mei_class, parent, devno, in mei_register() 1242 if (IS_ERR(clsdev)) { in mei_register() 1245 ret = PTR_ERR(clsdev); in mei_register() 1249 mei_dbgfs_register(dev, dev_name(clsdev)); in mei_register()
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvbdev.c | 461 struct device *clsdev; in dvb_register_device() local 577 clsdev = device_create(dvb_class, adap->device, in dvb_register_device() 580 if (IS_ERR(clsdev)) { in dvb_register_device() 582 __func__, adap->num, dnames[type], id, PTR_ERR(clsdev)); in dvb_register_device() 593 return PTR_ERR(clsdev); in dvb_register_device()
|