Skip to contentSkip to conversation

usb: use platform_{get,set}_drvdata()

PATCH Superseded Libo Chen 1 participant 1 message Aug 27, 2013

lore
Share & tools
lore

Libo Chen

author
#0 lore raw

cover usb: 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.

Libo Chen (4):
usb: fotg210-udc: use platform_{get,set}_drvdata()
usb: r8a66597-hcd: use platform_{get,set}_drvdata()
usb: phy-tegra-usb: use platform_{get,set}_drvdata()
usb: renesas_usbhs: use platform_{get,set}_drvdata()

 drivers/usb/gadget/fotg210-udc.c   |    4 ++--
 drivers/usb/host/r8a66597-hcd.c    |    4 ++--
 drivers/usb/phy/phy-tegra-usb.c    |    2 +-
 drivers/usb/renesas_usbhs/common.c |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)