Lines Matching defs:soc_dev_attr
953 struct soc_device_attribute *soc_dev_attr;
956 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
957 if (!soc_dev_attr)
960 soc_dev_attr->machine = ep93xx_get_machine_name();
961 soc_dev_attr->family = "Cirrus Logic EP93xx";
962 soc_dev_attr->revision = ep93xx_get_soc_rev();
963 soc_dev_attr->soc_id = ep93xx_get_soc_id();
965 soc_dev = soc_device_register(soc_dev_attr);
967 kfree(soc_dev_attr->machine);
968 kfree(soc_dev_attr);