[PATCH 3/4] USB: host: use to_platform_device

2015-12-23 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/usb/host/ehci-platform.c | 6 ++ drivers/usb/host/ehci-st.c | 6 ++ drivers/usb/host/ohci-platform.c | 6 ++ drivers/usb/host/ohci-st.c | 6 ++ 4 files changed, 8

[PATCH 3/4] USB: host: use to_platform_device

2015-12-23 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/usb/host/ehci-platform.c | 6 ++ drivers/usb/host/ehci-st.c | 6 ++ drivers/usb/host/ohci-platform.c | 6 ++ drivers/usb/host/ohci-st.c | 6 ++ 4 files