On Fri, May 05, 2017 at 11:43:28AM +0200, Alexandre Bailon wrote:
> > > + dev = device_create(gb_nl_class, NULL, major_dev, NULL, DEVICE_NAME);
> > > + if (IS_ERR(dev)) {
> > > + retval = PTR_ERR(dev);
> > > + goto err_class_destroy;
> > > + }
> > What do you do with this character device? Can you just use a misc
> > device instead?
> I'm doing nothing with the character device. Actually, I just need to have a
> parent device
> for greybus. I will take a look to the misc device.
Hm, how about just a dummy "virtual" device instead? That will be
"cleaner" and will not burn a character device node for no reason.
thanks,
greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel