diff options
| author | Guenter Roeck <[email protected]> | 2021-09-07 05:30:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 10:33:52 +0200 |
| commit | aad06846a2304e48e7a223fad8971eed16179606 (patch) | |
| tree | 421729adf005802ae6398ce7e36d1bf46923ff88 /tools/perf/scripts/python/libxed.py | |
| parent | 91fac0741d4817945c6ee0a17591421e7f5ecb86 (diff) | |
usb: ehci: Simplify platform driver registration
Use platform_register_drivers() and platform_unregister_drivers() to
register and unregister ehci platform drivers. This simplifies the code
and prevents the following build errors seen with sparc:allmodconfig.
drivers/usb/host/ehci-hcd.c:1301: error:
"PLATFORM_DRIVER" redefined
drivers/usb/host/ehci-sh.c:173:31: error:
'ehci_hcd_sh_driver' defined but not used
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions