Re: device_destroy

2007-02-09 Thread James Simmons
> > While porting over a few class_devices I discovered a problem with > > device_destroy. It uses a dev_t which several classes don't use. > > Should all classes require a dev_t or should we just pass in the device > > itself? > > As you don't have a dev_t, then you have a handle to the 'struc

Re: device_destroy

2007-02-08 Thread Greg KH
On Thu, Feb 08, 2007 at 03:51:08PM +, James Simmons wrote: > > While porting over a few class_devices I discovered a problem with > device_destroy. It uses a dev_t which several classes don't use. > Should all classes require a dev_t or should we just pass in the device > itself? As you don