From: Felipe Balbi Date: Thu, 8 Sep 2011 11:11:17 +0000 (+0300) Subject: usb: gadget: udc-core: fix bug on soft_connect and srp interfaces X-Git-Tag: v3.2-rc3~17^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d91a96268a0b2d7301c3ee67a784b712f34010f;p=pandora-kernel.git usb: gadget: udc-core: fix bug on soft_connect and srp interfaces 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed