usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call.
authorMatwey V. Kornilov <matwey@sai.msu.ru>
Fri, 16 May 2014 14:20:52 +0000 (18:20 +0400)
committerFelipe Balbi <balbi@ti.com>
Fri, 16 May 2014 17:16:31 +0000 (12:16 -0500)
commit7751b6fb05869bcb318e74420148c06577adf894
treecda68aa60e88082a65b14ea0b1363a210ee8c4f2
parent8c240dc17d900cc6453b48bdd513f4243a9ec97d
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>
drivers/usb/musb/tusb6010.c
drivers/usb/musb/tusb6010.h
drivers/usb/musb/tusb6010_omap.c