Lines Matching defs:new_dev
89 struct output_device *new_dev;
92 new_dev = kzalloc(sizeof(struct output_device),GFP_KERNEL);
93 if (!new_dev) {
97 new_dev->props = op;
98 new_dev->dev.class = &video_output_class;
99 new_dev->dev.parent = dev;
100 dev_set_name(&new_dev->dev, name);
101 dev_set_drvdata(&new_dev->dev, devdata);
102 ret_code = device_register(&new_dev->dev);
104 kfree(new_dev);
107 return new_dev;