From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 27 Jul 2015 17:31:57 -0600 Subject: [U-Boot] [PATCH 04/20] dm: usb: Prepare dwc2 driver for driver-model conversion In-Reply-To: <1436324032-17931-5-git-send-email-sjg@chromium.org> References: <1436324032-17931-1-git-send-email-sjg@chromium.org> <1436324032-17931-5-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7 July 2015 at 20:53, Simon Glass wrote: > Put all global data in a structure and move (what will be) common code into > common functions. This will make the driver-model conversion much easier. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/dwc2.c | 150 ++++++++++++++++++++++++++++++++---------------- > 1 file changed, 100 insertions(+), 50 deletions(-) Applied to u-boot-dm.