commit | dae8eadf2a8a125dbbfc067a7ff16cf600b1023b | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu May 23 19:19:22 2013 +0900 |
committer | Felipe Balbi <balbi@ti.com> | Tue May 28 20:16:56 2013 +0300 |
tree | 48219c4fc8332025107275db6d37e7fb0be22e99 | |
parent | 6d3d61f8219455c047777e2f7954cd3cbac2ec4e [diff] |
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>