]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
USB: EHCI: ehci-mv: drop pxa_ehci_type and some device IDs
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 21 Dec 2019 06:50:08 +0000 (07:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2019 19:11:29 +0000 (20:11 +0100)
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>
drivers/usb/host/ehci-mv.c
include/linux/platform_data/mv_usb.h

index d476a2516bf625478542e6eeb4593970d0116c23..57e97903e7eb6c6134f2efc2a0300dfc5d0da258 100644 (file)
@@ -246,10 +246,8 @@ static int mv_ehci_remove(struct platform_device *pdev)
 MODULE_ALIAS("mv-ehci");
 
 static const struct platform_device_id ehci_id_table[] = {
-       {"pxa-u2oehci", PXA_U2OEHCI},
-       {"pxa-sph", PXA_SPH},
-       {"mmp3-hsic", MMP3_HSIC},
-       {"mmp3-fsic", MMP3_FSIC},
+       {"pxa-u2oehci", 0},
+       {"pxa-sph", 0},
        {},
 };
 
index 5376b6d799d5db1f1bcab121984d0359934f3bde..20d239c02bf3a32900e117047cd4146c60f8226f 100644 (file)
@@ -6,14 +6,6 @@
 #ifndef __MV_PLATFORM_USB_H
 #define __MV_PLATFORM_USB_H
 
-enum pxa_ehci_type {
-       EHCI_UNDEFINED = 0,
-       PXA_U2OEHCI,    /* pxa 168, 9xx */
-       PXA_SPH,        /* pxa 168, 9xx SPH */
-       MMP3_HSIC,      /* mmp3 hsic */
-       MMP3_FSIC,      /* mmp3 fsic */
-};
-
 enum {
        MV_USB_MODE_OTG,
        MV_USB_MODE_HOST,