Searched refs:grp_kobj (Results 1 – 1 of 1) sorted by relevance
792 struct mcidev_sysfs_group_kobj *grp_kobj; in edac_create_mci_instance_attributes() local794 grp_kobj = kzalloc(sizeof(*grp_kobj), GFP_KERNEL); in edac_create_mci_instance_attributes()795 if (!grp_kobj) in edac_create_mci_instance_attributes()798 grp_kobj->grp = sysfs_attrib->grp; in edac_create_mci_instance_attributes()799 grp_kobj->mci = mci; in edac_create_mci_instance_attributes()800 list_add_tail(&grp_kobj->list, &mci->grp_kobj_list); in edac_create_mci_instance_attributes()805 err = kobject_init_and_add(&grp_kobj->kobj, in edac_create_mci_instance_attributes()814 grp_kobj->grp->mcidev_attr, in edac_create_mci_instance_attributes()815 &grp_kobj->kobj); in edac_create_mci_instance_attributes()846 struct mcidev_sysfs_group_kobj *grp_kobj, *tmp; in edac_remove_mci_instance_attributes() local[all …]