usb: musb: Remove platform context save/restore API
authorHema HK <hemahk@ti.com>
Mon, 28 Feb 2011 08:49:33 +0000 (14:19 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 09:35:11 +0000 (11:35 +0200)
commitda68ccec210c45eb99e461ad31b499b4e7043c41
treecd86514205d9348b4a3c2fdda5d1ef2ce44cd3b1
parent4cbbf084436caddeb815534df4ebaa018c970196
usb: musb: Remove platform context save/restore API

For OMAP3 and OMAP4 for offmode and retention support, musb
sysconfig is configured to force idle and standby with ENABLE_FORCE bit
of OTG_FORCESTNDBY set.
And on wakeup configure to no ilde/standby with resetting the ENABLE_FORCE
bit. There is not need to save and restore of this register anymore
so removed omap2430_save_context/omap2430_restore_context functions.
and also removed otg_forcestandby member of musb_context_registers
structure

Signed-off-by: Hema HK <hemahk@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.h
drivers/usb/musb/omap2430.c