usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call.

The value of the revision is stored in musb->tusb_revision,
so don't re-read it every time.
Exporting tusb_get_revision is not needed anymore,
so the dependency loop between tusb6010 and tusb6010_omap is resolved.

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Matwey V. Kornilov
2014-05-16 18:20:52 +04:00
کامیت شده توسط Felipe Balbi
والد 8c240dc17d
کامیت 7751b6fb05
3فایلهای تغییر یافته به همراه9 افزوده شده و 14 حذف شده

مشاهده پرونده

@@ -12,8 +12,6 @@
#ifndef __TUSB6010_H__
#define __TUSB6010_H__
extern u8 tusb_get_revision(struct musb *musb);
#ifdef CONFIG_USB_TUSB_OMAP_DMA
#define tusb_dma_omap() 1
#else