2013-08-27 08:12:46

by Libo Chen

[permalink] [raw]
Subject: [PATCH 0/4] 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(-)