/* edac_device_delete_instances(edac_dev); unregister all the kobjects of the instances  */
static void edac_device_delete_instances(struct edac_device_ctl_info *edac_dev)
/* edac_device_delete_instances(edac_dev); unregister all the kobjects of the instances  */
static void edac_device_delete_instances(struct edac_device_ctl_info *edac_dev)
{
	int i;
	for (i = 0; i < edac_dev->nr_instances; i++)
		edac_device_delete_instance(edac_dev, i);
}