Commit fc7b5255 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

USB: MUSB: checkpatch.pl fixes to davinci.c

Misc cleanup patch.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6c449888
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/io.h>
#include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/memory.h> #include <asm/arch/memory.h>
#include <asm/arch/gpio.h> #include <asm/arch/gpio.h>
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include "musb_core.h" #include "musb_core.h"
#ifdef CONFIG_MACH_DAVINCI_EVM #ifdef CONFIG_MACH_DAVINCI_EVM
#include <asm/arch/i2c-client.h> #include <asm/arch/i2c-client.h>
#endif #endif
...@@ -93,7 +92,7 @@ void musb_platform_enable(struct musb *musb) ...@@ -93,7 +92,7 @@ void musb_platform_enable(struct musb *musb)
if (is_dma_capable() && !dma_off) if (is_dma_capable() && !dma_off)
printk(KERN_WARNING "%s %s: dma not reactivated\n", printk(KERN_WARNING "%s %s: dma not reactivated\n",
__FILE__, __FUNCTION__); __FILE__, __func__);
else else
dma_off = 0; dma_off = 0;
...@@ -446,7 +445,8 @@ int musb_platform_exit(struct musb *musb) ...@@ -446,7 +445,8 @@ int musb_platform_exit(struct musb *musb)
break; break;
if ((devctl & MUSB_DEVCTL_VBUS) != warn) { if ((devctl & MUSB_DEVCTL_VBUS) != warn) {
warn = devctl & MUSB_DEVCTL_VBUS; warn = devctl & MUSB_DEVCTL_VBUS;
DBG(1, "VBUS %d\n", warn >> MUSB_DEVCTL_VBUS_SHIFT); DBG(1, "VBUS %d\n",
warn >> MUSB_DEVCTL_VBUS_SHIFT);
} }
msleep(1000); msleep(1000);
maxdelay--; maxdelay--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment