Re: [PATCH 2/3] staging: greybus: Add Greybus netlink driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
greybus-dev mailing list
greybus-dev@xxxxxxxxxxxxxxxx
https://lists.linaro.org/mailman/listinfo/greybus-dev




[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux