usb: chipidea: remove unused field "regs" from ci13xxx
The old implementation used global hw_bank, the new implementation uses udc-local hw_bank. This field seems to be a leftover from previous coding experiments. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5f36e231e9
commit
f8c1376c22
2 changed files with 1 additions and 2 deletions
|
@ -80,7 +80,6 @@ struct hw_bank {
|
||||||
/* CI13XXX UDC descriptor & global resources */
|
/* CI13XXX UDC descriptor & global resources */
|
||||||
struct ci13xxx {
|
struct ci13xxx {
|
||||||
spinlock_t lock; /* ctrl register bank access */
|
spinlock_t lock; /* ctrl register bank access */
|
||||||
void __iomem *regs; /* registers address space */
|
|
||||||
|
|
||||||
struct dma_pool *qh_pool; /* DMA pool for queue heads */
|
struct dma_pool *qh_pool; /* DMA pool for queue heads */
|
||||||
struct dma_pool *td_pool; /* DMA pool for transfer descs */
|
struct dma_pool *td_pool; /* DMA pool for transfer descs */
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#include "ci.h"
|
#include "ci.h"
|
||||||
|
|
||||||
#define MSM_USB_BASE (udc->regs)
|
#define MSM_USB_BASE (udc->hw_bank.abs)
|
||||||
|
|
||||||
static void ci13xxx_msm_notify_event(struct ci13xxx *udc, unsigned event)
|
static void ci13xxx_msm_notify_event(struct ci13xxx *udc, unsigned event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue