Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca0907b9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

edac: Remove the legacy EDAC ABI



Now that all drivers got converted to use the new ABI, we can
drop the old one.

Acked-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e2acc357
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2596,7 +2596,7 @@ static int amd64_init_one_instance(struct pci_dev *F2)
	layers[1].type = EDAC_MC_LAYER_CHANNEL;
	layers[1].size = pvt->channel_count;
	layers[1].is_virt_csrow = false;
	mci = new_edac_mc_alloc(nid, ARRAY_SIZE(layers), layers, 0);
	mci = edac_mc_alloc(nid, ARRAY_SIZE(layers), layers, 0);
	if (!mci)
		goto err_siblings;

+1 −1
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ static int amd76x_probe1(struct pci_dev *pdev, int dev_idx)
	layers[1].type = EDAC_MC_LAYER_CHANNEL;
	layers[1].size = 1;
	layers[1].is_virt_csrow = false;
	mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0);
	mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0);

	if (mci == NULL)
		return -ENOMEM;
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ static int __devinit cell_edac_probe(struct platform_device *pdev)
	layers[1].type = EDAC_MC_LAYER_CHANNEL;
	layers[1].size = num_chans;
	layers[1].is_virt_csrow = false;
	mci = new_edac_mc_alloc(pdev->id, ARRAY_SIZE(layers), layers,
	mci = edac_mc_alloc(pdev->id, ARRAY_SIZE(layers), layers,
			    sizeof(struct cell_edac_priv));
	if (mci == NULL)
		return -ENOMEM;
+1 −1
Original line number Diff line number Diff line
@@ -982,7 +982,7 @@ static int __devinit cpc925_probe(struct platform_device *pdev)
	layers[1].type = EDAC_MC_LAYER_CHANNEL;
	layers[1].size = nr_channels;
	layers[1].is_virt_csrow = false;
	mci = new_edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers,
	mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers,
			    sizeof(struct cpc925_mc_pdata));
	if (!mci) {
		cpc925_printk(KERN_ERR, "No memory for mem_ctl_info\n");
+1 −2
Original line number Diff line number Diff line
@@ -1278,8 +1278,7 @@ static int e752x_probe1(struct pci_dev *pdev, int dev_idx)
	layers[1].type = EDAC_MC_LAYER_CHANNEL;
	layers[1].size = drc_chan + 1;
	layers[1].is_virt_csrow = false;
	mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers,
			    sizeof(*pvt));
	mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt));
	if (mci == NULL)
		return -ENOMEM;

Loading