Lines Matching defs:soc_dev_attr
33 static struct soc_device_attribute *soc_dev_attr;
61 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
62 if (!soc_dev_attr)
72 soc_dev_attr->soc_id = soc_id_str;
73 soc_dev_attr->revision = soc_id_rev_str;
74 soc_dev_attr->family = soc_id_jep106_id_str;
76 soc_dev = soc_device_register(soc_dev_attr);
78 kfree(soc_dev_attr);
82 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id,
83 soc_dev_attr->revision);
93 kfree(soc_dev_attr);