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