/* @classdev: The class device to remove the files from  */
void attribute_container_remove_attrs(struct device *classdev)
/* @classdev: The class device to remove the files from  */
void attribute_container_remove_attrs(struct device *classdev)
{
	struct attribute_container *cont =
		attribute_container_classdev_to_container(classdev);
	struct device_attribute **attrs = cont->attrs;
	int i;
	if (!attrs && !cont->grp)
		return;
	if (cont->grp) {
		sysfs_remove_group(&classdev->kobj, cont->grp);
		return ;
	}
	for (i = 0; attrs[i]; i++)
		device_remove_file(classdev, attrs[i]);
}