Lines Matching defs:soc_dev_attr
145 struct soc_device_attribute *soc_dev_attr;
147 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
148 if (!soc_dev_attr)
151 soc_dev_attr->soc_id = "mt7621";
152 soc_dev_attr->family = "Ralink";
153 soc_dev_attr->revision = mt7621_get_soc_revision();
155 soc_dev_attr->data = soc_info_ptr;
157 soc_dev = soc_device_register(soc_dev_attr);
159 kfree(soc_dev_attr);