]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Wed, 19 Feb 2014 05:41:42 +0000 (13:41 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:06 +0000 (21:18 -0600)
commit65ce1a13ed6cb482163b3312c6849987dfcb0282
tree6536ee1329250b7a0276070b1d8fb0234cb8dd4c
parent846a604ee7863d43f2b8a88a3166a2106287365b
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