usb: chipidea: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Wed, 19 Feb 2014 05:41:42 +0000 (13:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Feb 2014 01:07:52 +0000 (17:07 -0800)
commitfad56745a641750745d85f59d5cc640a1a4c1719
tree03980fc164e0cda63519a97516677ec6b8dedcf3
parent64fc06c40e01aa8129f5bc4c51567b5e205126b0
usb: chipidea: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead
of accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c