On Sat, 6 Apr 2013, Sergei Shtylyov wrote:

> > And instead of passing hcd->regs, wouldn't it be better to pass hcd?
> 
>     I really don't know.
> 
> > Other users of this interface might need to initialize something other
> > than a non-standard register.
> 
>     Hm, maybe... if passing 'struct usb_hcd *' would indeed help here. 
> Do you think it's
> worth passing 'struct platform_device *' along with it?

Yes.  After all, the routine being called is part of the platform code.

Alan Stern

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

Reply via email to