usb: renesas_usbhs: Use specific struct instead of USBHS_TYPE_* enums
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 13 May 2019 02:40:29 +0000 (11:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 08:04:27 +0000 (10:04 +0200)
commitbe21a02a5a5ec88b12ce535ead715d4bbb173a55
treec5870f0fea4c40ae5359b04ff477d8eb19553e23
parent4e4feeec4e6cf6d0e14a45470c7f232cb685336b
usb: renesas_usbhs: Use specific struct instead of USBHS_TYPE_* enums

This patch adds a specific struct "usbhs_of_data" to add a new SoC
data easily instead of code basis in the future.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/common.h