Home
last modified time | relevance | path

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

/drivers/media/dvb-core/
Ddvbdev.c189 struct device *clsdev; in dvb_register_device() local
253 clsdev = device_create(dvb_class, adap->device, in dvb_register_device()
256 if (IS_ERR(clsdev)) { in dvb_register_device()
258 __func__, adap->num, dnames[type], id, PTR_ERR(clsdev)); in dvb_register_device()
259 return PTR_ERR(clsdev); in dvb_register_device()
/drivers/misc/mei/
Dmain.c693 struct device *clsdev; /* class device */ in mei_register() local
713 clsdev = device_create(mei_class, parent, devno, in mei_register()
716 if (IS_ERR(clsdev)) { in mei_register()
719 ret = PTR_ERR(clsdev); in mei_register()
723 ret = mei_dbgfs_register(dev, dev_name(clsdev)); in mei_register()
725 dev_err(clsdev, "cannot register debugfs ret = %d\n", ret); in mei_register()