summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2013-03-30 01:46:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-30 04:45:44 +0100
commit5b08319f33f199fd5b3ee5360ece8b6ae2890819 (patch)
tree04ef8db01fca30df08cfa170502b02113f0caee8 /drivers/usb/chipidea
parentusb: chipidea: drop redundant includes (diff)
downloadlinux-5b08319f33f199fd5b3ee5360ece8b6ae2890819.tar.xz
linux-5b08319f33f199fd5b3ee5360ece8b6ae2890819.zip
usb: chipidea: trim include list in udc code
Some headers included in udc core code are not actually needed, remove them and add irqreturn.h, which was implicitly included via irq.h. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/udc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index f64fbea1cf20..3dc509382389 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -13,14 +13,8 @@
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dmapool.h>
-#include <linux/dma-mapping.h>
#include <linux/err.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/module.h>
-#include <linux/interrupt.h>
-#include <linux/io.h>
-#include <linux/irq.h>
+#include <linux/irqreturn.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>