]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: ci13xxx-imx: move static pdata into probe function
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 13 Jun 2013 14:59:58 +0000 (17:59 +0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:11 +0000 (09:54 +0800)
commit72fe1a5cce705c53265223878be8f17a62276a17
treead19949dd470b680f4accbe9a9ca05fa8ca5c121
parent16f82b14957a0eb79921bfa14b0bbc93e7b650d7
usb: chipidea: ci13xxx-imx: move static pdata into probe function

The pdata structure gets copied anyway inside ci13xxx_add_device
by platform_device_add. We don't need to have it static.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_imx.c