mbox series

[0/3] usb: remove some unused code

Message ID 20171025220139.19457-1-elder@linaro.org
Headers show
Series usb: remove some unused code | expand

Message

Alex Elder Oct. 25, 2017, 10:01 p.m. UTC
This series deletes some Qualcomm USB code is no longer needed by
any Qualcomm hardware.  

					-Alex
Alex Elder (3):
  usb: host: remove ehci-msm.c
  usb: phy: remove phy-msm-usb.c
  usb: phy: remove phy-qcom-8x16-usb.c

 drivers/usb/host/Makefile           |    1 -
 drivers/usb/host/ehci-msm.c         |  265 -----
 drivers/usb/phy/Makefile            |    2 -
 drivers/usb/phy/phy-msm-usb.c       | 2085 -----------------------------------
 drivers/usb/phy/phy-qcom-8x16-usb.c |  366 ------
 5 files changed, 2719 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-msm.c
 delete mode 100644 drivers/usb/phy/phy-msm-usb.c
 delete mode 100644 drivers/usb/phy/phy-qcom-8x16-usb.c

-- 
2.11.0

Comments

Manu Gautam Oct. 26, 2017, 5:13 a.m. UTC | #1
Hi,


On 10/26/2017 3:31 AM, Alex Elder wrote:
> No Qualcomm SoC requires the "phy-msm-usb.c" USB phy driver support

> any more, so remove the code.

>

> Suggested-by: Stephen Boyd <sboyd@codeaurora.org>

> Signed-off-by: Alex Elder <elder@linaro.org>

> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> Acked-by: Andy Gross <andy.gross@linaro.org>

> ---

>  drivers/usb/phy/Makefile      |    1 -

>  drivers/usb/phy/phy-msm-usb.c | 2085 -----------------------------------------

>  2 files changed, 2086 deletions(-)

>  delete mode 100644 drivers/usb/phy/phy-msm-usb.c

>

> diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile

> index e7c9ca8cafb0..61013f38abbe 100644

> --- a/drivers/usb/phy/Makefile

> +++ b/drivers/usb/phy/Makefile

> @@ -18,7 +18,6 @@ obj-$(CONFIG_TWL6030_USB)		+= phy-twl6030-usb.o

>  obj-$(CONFIG_USB_EHCI_TEGRA)		+= phy-tegra-usb.o

>  obj-$(CONFIG_USB_GPIO_VBUS)		+= phy-gpio-vbus-usb.o

>  obj-$(CONFIG_USB_ISP1301)		+= phy-isp1301.o

> -obj-$(CONFIG_USB_MSM_OTG)		+= phy-msm-usb.o


drivers/usb/phy/Kconfig update?

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project