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>
  * @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 {
        /* global resources */
        struct ci13xxx                          *udc;
        spinlock_t                              *lock;
-       struct device                           *device;
        struct dma_pool                         *td_pool;
 };
 
 
 
                        mEp->udc          = udc;
                        mEp->lock         = &udc->lock;
-                       mEp->device       = &udc->gadget.dev;
                        mEp->td_pool      = udc->td_pool;
 
                        mEp->ep.name      = mEp->name;