/* edac_remove_mci_instance_attributes remove MC driver specific attributes at the topmost level directory of this mci instance.  */
static void edac_remove_mci_instance_attributes(struct mem_ctl_info *mci)
/* edac_remove_mci_instance_attributes remove MC driver specific attributes at the topmost level directory of this mci instance.  */
static void edac_remove_mci_instance_attributes(struct mem_ctl_info *mci)
{
	struct mcidev_sysfs_attribute *sysfs_attrib;
	sysfs_attrib = mci->mc_driver_sysfs_attributes;
	while (sysfs_attrib && sysfs_attrib->attr.name) {
		sysfs_remove_file(&mci->edac_mci_kobj,
					(struct attribute *) sysfs_attrib);
		sysfs_attrib++;
	}
}