Lines Matching refs:soc_dev_attr
130 struct soc_device_attribute *soc_dev_attr;
172 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
173 if (!soc_dev_attr)
176 soc_dev_attr->family = "Amlogic Meson";
177 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x:%x - %x:%x",
182 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)",
186 soc_dev = soc_device_register(soc_dev_attr);
188 kfree(soc_dev_attr->revision);
189 kfree_const(soc_dev_attr->soc_id);
190 kfree(soc_dev_attr);
196 soc_dev_attr->soc_id,