Skip to contentSkip to conversation

Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

PATCH New Adam Ford 2 participants 2 messages Dec 12, 2018

Subsystems (2)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH v2 1/1 Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver.

---
V2: Rebase on origin/master
Remove drivers/usb/musb/davinci.c
Remove drivers/usb/musb/davinci.h

drivers/usb/musb/Kconfig +0 -3
index dd42f69a6b..7e6be03f4a 100644
@@ -11,9 +11,6 @@ config USB_MUSB_HCD
 config USB_MUSB_UDC
 	bool "Legacy USB Device Controller"
 
-config USB_DAVINCI
-	bool "Legacy MUSB DaVinci"
-	
 config USB_OMAP3
 	bool "Legacy MUSB OMAP3 / OMAP4"
 	depends on ARCH_OMAP2PLUS
drivers/usb/musb/Makefile +0 -1
index bdb3cd87f6..1242ce1c8c 100644
@@ -5,7 +5,6 @@
 
 obj-$(CONFIG_USB_MUSB_HCD) += musb_hcd.o musb_core.o
 obj-$(CONFIG_USB_MUSB_UDC) += musb_udc.o musb_core.o
-obj-$(CONFIG_USB_DAVINCI) += davinci.o
 obj-$(CONFIG_USB_OMAP3) += omap3.o
 obj-$(CONFIG_USB_DA8XX) += da8xx.o
 obj-$(CONFIG_USB_AM35X) += am35x.o
drivers/usb/musb/davinci.c deleted +0 -123

123 lines not on this page · raw message

drivers/usb/musb/davinci.h deleted +0 -73

73 lines not on this page · raw message

drivers/usb/musb/musb_udc.c +0 -2
index f1d6d85862..7620114bec 100644
@@ -46,8 +46,6 @@
 #include "omap3.h"
 #elif defined(CONFIG_USB_AM35X)
 #include "am35x.h"
-#elif defined(CONFIG_USB_DAVINCI)
-#include "davinci.h"
 #endif
 
 /* Define MUSB_DEBUG for debugging */
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

Quoted 5 lines · Adam Ford

This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver.

Applied after fixing the tags, please use usb: musb: next time.

Signature · 2 lines
Best regards,
Marek Vasut