usb: gadget: s3c-hsudc: remove the_controller global
authorHeiko Stübner <heiko@sntech.de>
Mon, 19 Dec 2011 18:43:35 +0000 (19:43 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:42 +0000 (13:24 +0200)
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 <heiko@sntech.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found