summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/ci.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 18:25:57 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-12 03:59:36 +0400
commitab3999a26147e9c0d2949df751b86519065bf8bd (patch)
tree347d97ef0514716aeaf9f31626c8cddd02dcb7d9 /drivers/usb/chipidea/ci.h
parent5e0aa49ec61e888d50727a7e80e87626f745c119 (diff)
downloadlinux-ab3999a26147e9c0d2949df751b86519065bf8bd.tar.xz
usb: chipidea: drop unused field "device" from ci13xxx_ep
It was used as a shorthand for gadget's device in request mapping/unmapping code, but now it's not used any more. 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/ci.h')
-rw-r--r--drivers/usb/chipidea/ci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index 8a6872aae79f..50911f8490d4 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -38,7 +38,6 @@
* @wedge: is the endpoint wedged
* @udc: pointer to the controller
* @lock: pointer to controller's spinlock
- * @device: pointer to gadget's struct device
* @td_pool: pointer to controller's TD pool
*/
struct ci13xxx_ep {
@@ -57,7 +56,6 @@ struct ci13xxx_ep {
/* global resources */
struct ci13xxx *udc;
spinlock_t *lock;
- struct device *device;
struct dma_pool *td_pool;
};