]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f1893838387977b7360b089a247e3e6fab0e4a0
tree9862b4860b1f75b94bc6ced49137930e54ec6d70
parent5e2af75294e809c83d8b5bd889c4c64627c93d75
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