Lines Matching defs:soc_dev_attr
50 struct soc_device_attribute *soc_dev_attr;
76 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
77 if (!soc_dev_attr)
80 soc_dev_attr->family = "Samsung Exynos";
83 of_property_read_string(root, "model", &soc_dev_attr->machine);
86 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x", revision);
87 soc_dev_attr->soc_id = product_id_to_soc_id(product_id);
88 if (!soc_dev_attr->soc_id) {
95 soc_dev = soc_device_register(soc_dev_attr);
103 soc_dev_attr->soc_id, product_id, revision);
108 kfree(soc_dev_attr->revision);
109 kfree(soc_dev_attr);