USB: gadget: net2280: remove leftover driver->unbind call in error pathway
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 15 Mar 2013 18:03:17 +0000 (14:03 -0400)
committerFelipe Balbi <balbi@ti.com>
Wed, 20 Mar 2013 14:46:34 +0000 (16:46 +0200)
commit8119b55aed818e590c26cb97706c914e3d660fd8
tree1334be6bfa382bd0343093e263314622379da1e0
parent511f3c5326eabe1ece35202a404c24c0aeacc246
USB: gadget: net2280: remove leftover driver->unbind call in error pathway

This patch (as1667) removes an incorrect driver->unbind() call from
the net2280 driver.  If startup fails, the UDC core takes care of
unbinding the gadget driver automatically; the controller driver
shouldn't do it too.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2280.c