Lines Matching defs:device
10 #include <linux/device.h>
43 int xillybus_init_chrdev(struct device *dev,
56 struct device *device;
126 device = device_create(&xillybus_class,
133 if (IS_ERR(device)) {
134 dev_err(dev, "Failed to create %s device. Aborting.\n",
149 dev_info(dev, "Created %d device files.\n", num_nodes);
176 struct device *dev)
205 dev_info(dev, "Removed %d device files.\n",