Searched refs:gsmi_kobj (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/firmware/google/
H A Dgsmi.c764 static struct kobject *gsmi_kobj; variable in typeref:struct:kobject
869 gsmi_kobj = kobject_create_and_add("gsmi", firmware_kobj); gsmi_init()
870 if (!gsmi_kobj) { gsmi_init()
876 ret = sysfs_create_bin_file(gsmi_kobj, &eventlog_bin_attr); gsmi_init()
883 ret = sysfs_create_files(gsmi_kobj, gsmi_attrs); gsmi_init()
889 ret = efivars_register(&efivars, &efivar_ops, gsmi_kobj); gsmi_init()
905 sysfs_remove_files(gsmi_kobj, gsmi_attrs); gsmi_init()
907 sysfs_remove_bin_file(gsmi_kobj, &eventlog_bin_attr); gsmi_init()
909 kobject_put(gsmi_kobj); gsmi_init()
928 sysfs_remove_files(gsmi_kobj, gsmi_attrs); gsmi_exit()
929 sysfs_remove_bin_file(gsmi_kobj, &eventlog_bin_attr); gsmi_exit()
930 kobject_put(gsmi_kobj); gsmi_exit()

Completed in 33 milliseconds