usb: gadget: net2280: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:28:45 +0000 (15:28 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:31:18 +0000 (09:31 -0500)
commitd1d7e3f537d3cddc79f51c2f0285991446fb6837
treea9794bfed37854c524d34f3609dd176023c5bf24
parent42ab3d24f8f5ee3b2f5b9f353fd51aa5a5372fbd
usb: gadget: net2280: remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2280.c