OMAP3: PM: move context-loss counting into OMAP PM
Drop get_last_off_on_transaction_id() and move functionality
into OMAP PM layer.
For SRF, use omapdev** to get powerdomain state counte
for NOOP, use an increasing counter to ensure context is always restord.
**NOTE: in future PM branch, this omapdev functinality will be replaced
by omap_hwmod. Thus, context loss counting will only exist
for modules with omap_hwmod implementations.
Cc: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>