Re: [PATCH] usb-serial: clean up unneeded PM-related fields

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


On Mon, May 07, 2012 at 01:11:16PM -0700, Greg KH wrote:
> On Mon, May 07, 2012 at 11:24:05AM -0400, Alan Stern wrote:
> > This doesn't fix any problems; it's just a clean up.  Therefore it can 
> > wait for the next available merge window.
> 
> Thanks, now applied.
> 
> > Also, it looks like we can further clean up the usb_driver structures
> > by removing the .probe and .disconnect entries.  They can also by
> > filled in by the usb-serial core when the driver is registered.  Then
> > all that will remain are the .name and .id_table entries, which are
> > obviously necessary.  However, that should be done in a separate patch
> > (or series of patches).
> 
> I think we can almost get rid of the whole structure entirely, but that
> would break the auto-loading hotplug code.

No, nevermind, it wouldn't, that happens with the id table, not the
usb_driver structure.  I'll go work on removing the whole thing right
now...

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux