usb: dwc2/gadget: move phy bus legth initialization
authorKamil Debski <k.debski@samsung.com>
Tue, 9 Sep 2014 08:44:52 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2014 12:36:20 +0000 (14:36 +0200)
commit1b59fc7e3cda3f626204cadda8bb9b7d15f4f55b
tree5c136e5742a1b467f166bfda458f6b2e68a1bce3
parent346e2e4a8b47089f4319f114ec9ac3a95b5f0ac8
usb: dwc2/gadget: move phy bus legth initialization

This patch moves the part of code that initializes the PHY bus width.
This results in simpler code and removes the need to check whether
the Generic PHY Framework is used.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c