Lines Matching refs:soc_dev_attr
482 struct soc_device_attribute *soc_dev_attr;
505 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
506 if (!soc_dev_attr)
509 soc_dev_attr->soc_id = "XVC";
510 soc_dev_attr->machine = "Integrator/AP";
511 soc_dev_attr->family = "Integrator";
512 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%c",
515 soc_dev = soc_device_register(soc_dev_attr);
517 kfree(soc_dev_attr->revision);
518 kfree(soc_dev_attr);