Home
last modified time | relevance | path

Searched refs:token_value_attrs (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/platform/x86/
Ddell-smbios-base.c32 static struct device_attribute *token_value_attrs; variable
488 token_value_attrs = kzalloc(size, GFP_KERNEL); in build_tokens_sysfs()
489 if (!token_value_attrs) in build_tokens_sysfs()
518 sysfs_attr_init(&token_value_attrs[i].attr); in build_tokens_sysfs()
519 token_value_attrs[i].attr.name = value_name; in build_tokens_sysfs()
520 token_value_attrs[i].attr.mode = 0444; in build_tokens_sysfs()
521 token_value_attrs[i].show = value_show; in build_tokens_sysfs()
522 token_attrs[j++] = &token_value_attrs[i].attr; in build_tokens_sysfs()
539 kfree(token_value_attrs[i].attr.name); in build_tokens_sysfs()
543 kfree(token_value_attrs); in build_tokens_sysfs()
[all …]