Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217368
b: refs/heads/master
c: bbc560a
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent d30b66a commit dc63fc1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac99768c534ebde637b506ce9a6f5638d2049a5d
refs/heads/master: bbc560ae677c0f4d7ff8404a21409c99f35b297b
2 changes: 2 additions & 0 deletions trunk/drivers/edac/edac_mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ EXPORT_SYMBOL_GPL(edac_mc_alloc);
*/
void edac_mc_free(struct mem_ctl_info *mci)
{
debugf1("%s()\n", __func__);

edac_mc_unregister_sysfs_main_kobj(mci);
}
EXPORT_SYMBOL_GPL(edac_mc_free);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/edac/edac_mc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ int edac_mc_register_sysfs_main_kobj(struct mem_ctl_info *mci)
*/
void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci)
{
debugf1("%s()\n", __func__);

/* delete the kobj from the mc_kset */
kobject_put(&mci->edac_mci_kobj);
}
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,7 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
edac_mc_del_mc(&i7core_dev->pdev[0]->dev);

/* Free data */
debugf1("%s: free structs\n");
kfree(mci->ctl_name);
edac_mc_free(mci);

Expand Down

0 comments on commit dc63fc1

Please sign in to comment.