Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: EHCI: ehci-mv: drop pxa_ehci_type and some device IDs

This is merely a cleanup. None of these is used anywhere.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20191221065008.266445-4-lkundrak@v3.sk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lubomir Rintel and committed by
Greg Kroah-Hartman
92f98352 cf94ca49

+2 -12
+2 -4
drivers/usb/host/ehci-mv.c
··· 246 246 MODULE_ALIAS("mv-ehci"); 247 247 248 248 static const struct platform_device_id ehci_id_table[] = { 249 - {"pxa-u2oehci", PXA_U2OEHCI}, 250 - {"pxa-sph", PXA_SPH}, 251 - {"mmp3-hsic", MMP3_HSIC}, 252 - {"mmp3-fsic", MMP3_FSIC}, 249 + {"pxa-u2oehci", 0}, 250 + {"pxa-sph", 0}, 253 251 {}, 254 252 }; 255 253
-8
include/linux/platform_data/mv_usb.h
··· 6 6 #ifndef __MV_PLATFORM_USB_H 7 7 #define __MV_PLATFORM_USB_H 8 8 9 - enum pxa_ehci_type { 10 - EHCI_UNDEFINED = 0, 11 - PXA_U2OEHCI, /* pxa 168, 9xx */ 12 - PXA_SPH, /* pxa 168, 9xx SPH */ 13 - MMP3_HSIC, /* mmp3 hsic */ 14 - MMP3_FSIC, /* mmp3 fsic */ 15 - }; 16 - 17 9 enum { 18 10 MV_USB_MODE_OTG, 19 11 MV_USB_MODE_HOST,