/* edac_device_remove_main_sysfs_attributes remove any attributes to this instance's main kobject  */
static void edac_device_remove_main_sysfs_attributes(struct edac_device_ctl_info *edac_dev)
/* edac_device_remove_main_sysfs_attributes remove any attributes to this instance's main kobject  */
static void edac_device_remove_main_sysfs_attributes(struct edac_device_ctl_info *edac_dev)
{
	struct edac_dev_sysfs_attribute *sysfs_attrib;
	sysfs_attrib = edac_dev->sysfs_attributes;
	if (sysfs_attrib) {
		while (sysfs_attrib->attr.name != NULL) {
			sysfs_remove_file(&edac_dev->kobj,
					(struct attribute *) sysfs_attrib);
			sysfs_attrib++;
		}
	}
}