OMAP3: musb: remove unneeded inits in musb_plat
Subsystems (4)
PATCH RESEND 1/2 OMAP3: musb: remove unneeded inits in musb_plat
Removed unneeded 'power' and 'mode' field from musb_config as they are now getting updated by the values provided from board files at usb_musb_init().
Signed-off-by Ajay Kumar Gupta <[email protected]>
--- arch/arm/mach-omap2/usb-musb.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-)
arch/arm/mach-omap2/usb-musb.c +0 -13
@@ -54,21 +54,8 @@ static struct musb_hdrc_config musb_config = { };static struct musb_hdrc_platform_data musb_plat = { -#ifdef CONFIG_USB_MUSB_OTG - .mode =MUSB_OTG , -#elif defined(CONFIG_USB_MUSB_HDRC_HCD) - .mode =MUSB_HOST , -#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) - .mode =MUSB_PERIPHERAL , -#endif/* .clock is set dynamically */ .config = &musb_config, - -/* REVISIT charge pump on TWL4030 can supply up to -* 100 mA ... but this value is board-specific, like -* "mode", and should be passed to usb_musb_init(). -*/ - .power =50 ,/* up to 100 mA */ };static u64 musb_dmamask =DMA_BIT_MASK (32 );
Signature · 1 line
1.6.2.4
PATCH RESEND 2/2 OMAP3: musb: remove unneeded include files
Removed include files from usb-musb.c which were not required.
Signed-off-by Ajay Kumar Gupta <[email protected]>
--- arch/arm/mach-omap2/usb-musb.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
arch/arm/mach-omap2/usb-musb.c +0 -7
@@ -16,17 +16,10 @@* published by the Free Software Foundation. */ -#include <linux/types.h> -#include <linux/errno.h> -#include <linux/delay.h> #include <linux/platform_device.h> -#include <linux/clk.h> #include <linux/dma-mapping.h> -#include <linux/io.h> -#include <linux/usb/musb.h> -#include <mach/hardware.h> #include <mach/irqs.h> #include <plat/usb.h>
Signature · 1 line
1.6.2.4