X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fedac%2Fedac_pci_sysfs.c;h=e8658e451762647774f71b79101f61efb39194d9;hb=88ec63d6f85ccf40988ddae8b430dcb07355b29b;hp=0056c4dae9d52cc24985200dbb58b724be73c3ed;hpb=9e2d59ad580d590134285f361a0e80f0e98c0207;p=cascardo%2Flinux.git diff --git a/drivers/edac/edac_pci_sysfs.c b/drivers/edac/edac_pci_sysfs.c index 0056c4dae9d5..e8658e451762 100644 --- a/drivers/edac/edac_pci_sysfs.c +++ b/drivers/edac/edac_pci_sysfs.c @@ -429,8 +429,8 @@ static void edac_pci_main_kobj_teardown(void) if (atomic_dec_return(&edac_pci_sysfs_refcount) == 0) { edac_dbg(0, "called kobject_put on main kobj\n"); kobject_put(edac_pci_top_main_kobj); + edac_put_sysfs_subsys(); } - edac_put_sysfs_subsys(); } /*