Home
last modified time | relevance | path

Searched refs:clsdev (Results 1 – 2 of 2) sorted by relevance

/drivers/misc/mei/
Dmain.c776 struct device *clsdev; /* class device */ in mei_register() local
796 clsdev = device_create_with_groups(mei_class, parent, devno, in mei_register()
800 if (IS_ERR(clsdev)) { in mei_register()
803 ret = PTR_ERR(clsdev); in mei_register()
807 ret = mei_dbgfs_register(dev, dev_name(clsdev)); in mei_register()
809 dev_err(clsdev, "cannot register debugfs ret = %d\n", ret); in mei_register()
/drivers/media/dvb-core/
Ddvbdev.c276 struct device *clsdev; in dvb_register_device() local
340 clsdev = device_create(dvb_class, adap->device, in dvb_register_device()
343 if (IS_ERR(clsdev)) { in dvb_register_device()
345 __func__, adap->num, dnames[type], id, PTR_ERR(clsdev)); in dvb_register_device()
346 return PTR_ERR(clsdev); in dvb_register_device()