Re: [RFC PATCH] usb: core: correct usb_get_dev() documentation

2016-10-27 Thread Peter Chen
On Thu, Oct 27, 2016 at 04:49:18PM -0700, Dmitry Torokhov wrote: > On Thu, Oct 27, 2016 at 03:02:30PM -0700, Brian Norris wrote: > > In reading through a USB interface driver, I noticed that it called > > usb_{get,put}_dev() in its probe() and disconnect() methods. This seemed > > unnecessary, but

Re: [RFC PATCH] usb: core: correct usb_get_dev() documentation

2016-10-27 Thread Dmitry Torokhov
On Thu, Oct 27, 2016 at 03:02:30PM -0700, Brian Norris wrote: > In reading through a USB interface driver, I noticed that it called > usb_{get,put}_dev() in its probe() and disconnect() methods. This seemed > unnecessary, but a look at the comments here matched the usage. > > USB interface devices