Skip to content

Commit

Permalink
USB: EHCI: ehci-mv: drop pxa_ehci_type and some device IDs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lubomir Rintel authored and Greg Kroah-Hartman committed Dec 30, 2019
1 parent cf94ca4 commit 92f9835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
6 changes: 2 additions & 4 deletions drivers/usb/host/ehci-mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
{},
};

Expand Down
8 changes: 0 additions & 8 deletions include/linux/platform_data/mv_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 92f9835

Please sign in to comment.