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
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
2 matches
Mail list logo