usb: host: xhci-rcar: Add a helper macro to set xhci_plat_priv
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 2 Sep 2019 12:01:37 +0000 (21:01 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 13:53:11 +0000 (15:53 +0200)
commited056203fa7c53bb180970d28e31e3635ad82c7a
tree4aefda6edc330bf3d684c30202bf905bce7ea641
parent77d8f110acb77657fefb18f9563c2f911512759b
usb: host: xhci-rcar: Add a helper macro to set xhci_plat_priv

To avoid copy-and-paste setting of xhci_plat_priv for R-Car SoCs,
this patch add a helper macro SET_XHCI_PLAT_PRIV_FOR_RCAR.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1567425698-27560-3-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci-rcar.h