Lines Matching defs:dev_root
112 struct device *dev_root;
121 dev_root = bus_get_dev_root(&mpic_subsys);
122 if (dev_root) {
123 ret = device_create_file(dev_root, &mpic_attributes);
124 put_device(dev_root);
134 struct device *dev_root;
136 dev_root = bus_get_dev_root(&mpic_subsys);
137 if (dev_root) {
138 device_remove_file(dev_root, &mpic_attributes);
139 put_device(dev_root);