Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e80ad123 authored by Sachin Kamat's avatar Sachin Kamat Committed by Felipe Balbi
Browse files

usb: gadget: bcm63xx_udc: Remove redundant platform_set_drvdata()



Commit 0998d063 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent fb00d693
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2420,7 +2420,6 @@ static int bcm63xx_udc_remove(struct platform_device *pdev)
	usb_del_gadget_udc(&udc->gadget);
	BUG_ON(udc->driver);

	platform_set_drvdata(pdev, NULL);
	bcm63xx_uninit_udc_hw(udc);

	return 0;