Searched refs:attribute_kset (Results 1 – 2 of 2) sorted by relevance
1223 sysfs_remove_file(&tlmi_priv.attribute_kset->kobj, &pending_reboot.attr); in tlmi_release_attr()1225 sysfs_remove_file(&tlmi_priv.attribute_kset->kobj, &debug_cmd.attr); in tlmi_release_attr()1227 kset_unregister(tlmi_priv.attribute_kset); in tlmi_release_attr()1251 static int tlmi_validate_setting_name(struct kset *attribute_kset, char *name) in tlmi_validate_setting_name() argument1258 duplicate = kset_find_obj(attribute_kset, name); in tlmi_validate_setting_name()1284 tlmi_priv.attribute_kset = kset_create_and_add("attributes", NULL, in tlmi_sysfs_init()1286 if (!tlmi_priv.attribute_kset) { in tlmi_sysfs_init()1297 if (tlmi_validate_setting_name(tlmi_priv.attribute_kset, in tlmi_sysfs_init()1306 tlmi_priv.setting[i]->kobj.kset = tlmi_priv.attribute_kset; in tlmi_sysfs_init()1317 ret = sysfs_create_file(&tlmi_priv.attribute_kset->kobj, &pending_reboot.attr); in tlmi_sysfs_init()[all …]
92 struct kset *attribute_kset; member