Re: usb_create_hcd calls dev_set_drvdata

From: Greg KH
Date: Sun Dec 28 2008 - 01:09:54 EST


On Sat, Dec 27, 2008 at 01:15:59PM +0400, Tigran Grigoryan wrote:
> Hi,
>
> Why usb_create_hcd calls dev_set_drvdata and never uses that data.

Are you sure about that?

> OTG device drivers may want to set their own data.

Yes, and is this a problem?

I'm confused to what exactly is wrong here. Does the new OTG drivers
not work for you, or are you writing a new one?

thanks,

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