summaryrefslogtreecommitdiffstats
path: root/drivers/edac/i82875p_edac.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-03-21 16:55:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-11 13:23:41 -0300
commitd90c008963ef638cb7ab7d5eb76362b3c2d379bc (patch)
treea2b394bd9ea90b48ec4f5015c2183c3c9f58e14e /drivers/edac/i82875p_edac.c
parent5c4cdb5ae72988ef93f72ad6f46be0e4eea5be8d (diff)
downloadop-kernel-dev-d90c008963ef638cb7ab7d5eb76362b3c2d379bc.zip
op-kernel-dev-d90c008963ef638cb7ab7d5eb76362b3c2d379bc.tar.gz
edac: Get rid of the old kobj's from the edac mc code
Now that al users for the old kobj raw access are gone, we can get rid of the legacy kobj-based structures and data. Reviewed-by: Aristeu Rozanski <arozansk@redhat.com> Cc: Doug Thompson <norsk5@yahoo.com> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/i82875p_edac.c')
-rw-r--r--drivers/edac/i82875p_edac.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c
index 1cc682d..a47c6b2 100644
--- a/drivers/edac/i82875p_edac.c
+++ b/drivers/edac/i82875p_edac.c
@@ -426,9 +426,6 @@ static int i82875p_probe1(struct pci_dev *pdev, int dev_idx)
goto fail0;
}
- /* Keeps mci available after edac_mc_del_mc() till edac_mc_free() */
- kobject_get(&mci->edac_mci_kobj);
-
debugf3("%s(): init mci\n", __func__);
mci->pdev = &pdev->dev;
mci->mtype_cap = MEM_FLAG_DDR;
@@ -471,7 +468,6 @@ static int i82875p_probe1(struct pci_dev *pdev, int dev_idx)
return 0;
fail1:
- kobject_put(&mci->edac_mci_kobj);
edac_mc_free(mci);
fail0:
OpenPOWER on IntegriCloud