usb: dwc3: use dev_get_platdata()
authorFelipe Balbi <balbi@ti.com>
Wed, 31 Jul 2013 06:21:25 +0000 (09:21 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 31 Jul 2013 13:52:02 +0000 (16:52 +0300)
Use the wrapper function for retrieving the
platform_data instead of accessing dev->platform_data
directly.

While at that also make change 'node' initialization
to use the dev pointer.

Inspired-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found