Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/mei/
Dmain.c912 struct device *clsdev; /* class device */ in mei_register() local
932 clsdev = device_create_with_groups(mei_class, parent, devno, in mei_register()
936 if (IS_ERR(clsdev)) { in mei_register()
939 ret = PTR_ERR(clsdev); in mei_register()
943 ret = mei_dbgfs_register(dev, dev_name(clsdev)); in mei_register()
945 dev_err(clsdev, "cannot register debugfs ret = %d\n", ret); in mei_register()
/linux-4.19.296/drivers/media/dvb-core/
Ddvbdev.c466 struct device *clsdev; in dvb_register_device() local
544 clsdev = device_create(dvb_class, adap->device, in dvb_register_device()
547 if (IS_ERR(clsdev)) { in dvb_register_device()
549 __func__, adap->num, dnames[type], id, PTR_ERR(clsdev)); in dvb_register_device()
550 return PTR_ERR(clsdev); in dvb_register_device()