/* class_compat_remove_link - remove a compatibility class device link to a bus device @cls: the compatibility class @dev: the target bus device @device_link: an optional device to which a "device" link was previously created  */
void class_compat_remove_link(struct class_compat *cls, struct device *dev, struct device *device_link)
/* class_compat_remove_link - remove a compatibility class device link to a bus device @cls: the compatibility class @dev: the target bus device @device_link: an optional device to which a "device" link was previously created  */
void class_compat_remove_link(struct class_compat *cls, struct device *dev, struct device *device_link)
{
	if (device_link)
		sysfs_remove_link(&dev->kobj, "device");
	sysfs_remove_link(cls->kobj, dev_name(dev));
}