[PATCH 1/6] usb: chipidea: setup ci_hdrc_platform_data in core driver

From: Antoine Tenart
Date: Thu Oct 30 2014 - 07:38:18 EST


Hello,

This series introduce the ci_hdrc_get_platdata function to help setting up the
ChipIdea internal ci_hdrc_platform_data structure. This helps avoiding
duplicating code.

This series comes from a duscission on Berlin's USB pacthes where it was asked
to move the PHY phandle handling in the ChipIdea core[1].

With the introduction of the ci_hdrc_get_platdata function, the old
ci_get_platdata function is removed. Changes in ChipIdea drivers have also been
made.

This series is needed for the Berlin USB support and has been tested with an
updated version of the USB Berlin driver (not in mainline yet).

Thanks,

Antoine

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/292383.html

Antoine Tenart (6):
usb: chipidea: add a core function to setup ci_hdrc_platform_data
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_imx
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_msm
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_pci
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_zevio
usb: chipidea: remove obsolete ci_get_platdata function

drivers/usb/chipidea/ci_hdrc_imx.c | 14 ++--
drivers/usb/chipidea/ci_hdrc_msm.c | 10 ++-
drivers/usb/chipidea/ci_hdrc_pci.c | 12 ++-
drivers/usb/chipidea/ci_hdrc_zevio.c | 8 +-
drivers/usb/chipidea/core.c | 146 ++++++++++++++++++++++++++++-------
include/linux/usb/chipidea.h | 2 +
6 files changed, 150 insertions(+), 42 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/