usb: gadget: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:19:22 +0000 (19:19 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:16:56 +0000 (20:16 +0300)
commitdae8eadf2a8a125dbbfc067a7ff16cf600b1023b
tree48219c4fc8332025107275db6d37e7fb0be22e99
parent6d3d61f8219455c047777e2f7954cd3cbac2ec4e
usb: gadget: use platform_{get,set}_drvdata()

Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fsl_qe_udc.c
drivers/usb/gadget/fusb300_udc.c
drivers/usb/gadget/m66592-udc.c
drivers/usb/gadget/mv_u3d_core.c
drivers/usb/gadget/r8a66597-udc.c