From: Heiko Stübner Date: Mon, 19 Dec 2011 18:43:35 +0000 (+0100) Subject: usb: gadget: s3c-hsudc: remove the_controller global X-Git-Tag: v3.3-rc1~153^2~24^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=922be95a3f2669b4a9ef526ff3c7ba71c00cbf9e;p=pandora-kernel.git usb: gadget: s3c-hsudc: remove the_controller global Instead use container_of to retrieve the s3c_hsudc from the struct usb_gadget pointer. [ balbi@ti.com : changed verbose container_of() into an already provided helper 'to_hsudc()' ] Signed-off-by: Heiko Stuebner Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed