usb: gadget: dummy_hcd: use dummy_pullup() instead of open coding
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 16 Jun 2011 18:36:55 +0000 (20:36 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:06 +0000 (14:31 -0700)
commit2542787430fc46b4e07e0da4c6ec80ed230032e5
treebc989828f8b5f69d5fc8aa4506fc50d8c3daa773
parente9c23a255a33cf423336b7cba39b2b6dcc83a6bc
usb: gadget: dummy_hcd: use dummy_pullup() instead of open coding

The removed code does the same thing as dummy_pullup(). The only
difference is that in dummy_udc_stop() the first dummy_pullup()
did not call usb_hcd_poll_rh_status().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c