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)
commit941ea3616c747545d0278fc432fb7919b6d0d8f0
tree9862b4860b1f75b94bc6ced49137930e54ec6d70
parentf074245960e8fec9948eb8022322e43670ace4e5
usb: dwc3: use dev_get_platdata()

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>
drivers/usb/dwc3/core.c