Lines Matching defs:dev_root
119 struct device *dev_root;
128 dev_root = bus_get_dev_root(&mpic_subsys);
129 if (dev_root) {
130 ret = device_create_file(dev_root, &mpic_attributes);
131 put_device(dev_root);
141 struct device *dev_root;
143 dev_root = bus_get_dev_root(&mpic_subsys);
144 if (dev_root) {
145 device_remove_file(dev_root, &mpic_attributes);
146 put_device(dev_root);