usb: host: xhci-rcar: Use xhci_plat_priv.quirks instead of code settings
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 2 Sep 2019 12:01:38 +0000 (21:01 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 13:53:27 +0000 (15:53 +0200)
commitee6754ace1ec6b755b9b505b1e147add70e39678
tree50c89116c817297604f4906d083745b74358a6ef
parented056203fa7c53bb180970d28e31e3635ad82c7a
usb: host: xhci-rcar: Use xhci_plat_priv.quirks instead of code settings

This patch uses xhci_plat_priv.quirks to simplify. The previous
code had conditions to set some quirks in xhci_rcar_init_quirk().
But, the xhci_rcar_init_quirk() is called at the same conditions.
So, no behavior change.

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-4-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-rcar.c
drivers/usb/host/xhci-rcar.h