Searched refs:cl_dev (Results 1 – 2 of 2) sorted by relevance
83 static struct thermal_cooling_device *cl_dev; variable385 if (cdev != cl_dev) in acerhdf_bind()400 if (cdev != cl_dev) in acerhdf_unbind()674 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL, in acerhdf_register_thermal()677 if (IS_ERR(cl_dev)) in acerhdf_register_thermal()699 if (cl_dev) { in acerhdf_unregister_thermal()700 thermal_cooling_device_unregister(cl_dev); in acerhdf_unregister_thermal()701 cl_dev = NULL; in acerhdf_unregister_thermal()
1495 sg_add_device(struct device *cl_dev) in sg_add_device() argument1497 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()1532 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()1552 dev_set_drvdata(cl_dev, sdp); in sg_add_device()1595 sg_remove_device(struct device *cl_dev) in sg_remove_device() argument1597 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove_device()1598 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()