Lines Matching refs:soc_dev_attr
33 static struct soc_device_attribute *soc_dev_attr; variable
80 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in smccc_soc_init()
81 if (!soc_dev_attr) in smccc_soc_init()
91 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
92 soc_dev_attr->revision = soc_id_rev_str; in smccc_soc_init()
93 soc_dev_attr->family = soc_id_jep106_id_str; in smccc_soc_init()
95 soc_dev = soc_device_register(soc_dev_attr); in smccc_soc_init()
97 kfree(soc_dev_attr); in smccc_soc_init()
101 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id, in smccc_soc_init()
102 soc_dev_attr->revision); in smccc_soc_init()
112 kfree(soc_dev_attr); in smccc_soc_exit()