Searched refs:class_device (Results 1 – 4 of 4) sorted by relevance
72 tcd->class_device = device_create(&tape_class, device, in register_tape_dev()75 rc = PTR_ERR_OR_ZERO(tcd->class_device); in register_tape_dev()80 &tcd->class_device->kobj, in register_tape_dev()
35 struct device *class_device; member342 cap->class_device = device_create(&cap_class, cap->parent, cap->dev_num, in gb_cap_connection_init()344 if (IS_ERR(cap->class_device)) { in gb_cap_connection_init()345 ret = PTR_ERR(cap->class_device); in gb_cap_connection_init()
34 struct device *class_device; member617 fw_mgmt->class_device = device_create(&fw_mgmt_class, fw_mgmt->parent, in gb_fw_mgmt_connection_init()620 if (IS_ERR(fw_mgmt->class_device)) { in gb_fw_mgmt_connection_init()621 ret = PTR_ERR(fw_mgmt->class_device); in gb_fw_mgmt_connection_init()
276 The terms device and class_device have well defined meanings in the