usb: gadget: udc-core: fix bug on soft_connect and srp interfaces
authorFelipe Balbi <balbi@ti.com>
Thu, 8 Sep 2011 11:11:17 +0000 (14:11 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Nov 2011 19:51:15 +0000 (11:51 -0800)
We should not be using dev_get_drvdata() because we
never call dev_set_drvdata(). Let's use container_of()
as all other sysfs attributes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found