Lines Matching refs:soc_dev_attr
33 static struct soc_device_attribute *soc_dev_attr; variable
140 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in smccc_soc_init()
141 if (!soc_dev_attr) in smccc_soc_init()
151 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
152 soc_dev_attr->revision = soc_id_rev_str; in smccc_soc_init()
153 soc_dev_attr->family = soc_id_jep106_id_str; in smccc_soc_init()
154 soc_dev_attr->machine = smccc_soc_name_init(); in smccc_soc_init()
156 soc_dev = soc_device_register(soc_dev_attr); in smccc_soc_init()
158 kfree(soc_dev_attr); in smccc_soc_init()
162 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id, in smccc_soc_init()
163 soc_dev_attr->revision); in smccc_soc_init()
173 kfree(soc_dev_attr); in smccc_soc_exit()