/* device_remove_file - remove sysfs attribute file. @dev: device. @attr: device attribute descriptor.  */
void device_remove_file(struct device *dev, const struct device_attribute *attr)
/* device_remove_file - remove sysfs attribute file. @dev: device. @attr: device attribute descriptor.  */
void device_remove_file(struct device *dev, const struct device_attribute *attr)
{
	if (dev)
		sysfs_remove_file(&dev->kobj, &attr->attr);
}