From: Jon Hunter Date: Tue, 5 Jun 2012 17:34:55 +0000 (-0500) Subject: ARM: OMAP: Remove loses_context variable from timer platform data X-Git-Tag: omap-devel-dmtimer-for-v3.6~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2d076b589225e51e022d85bb9f25dca26530f3;p=pandora-kernel.git ARM: OMAP: Remove loses_context variable from timer platform data The platform data variable loses_context is used to determine if the timer may lose its logic state during power transitions and so needs to be restored. This information is also provided in the HWMOD device attributes for OMAP2+ devices via the OMAP_TIMER_ALWON flag. When this flag is set the timer will not lose context. So use the HWMOD device attributes to determine this. For OMAP1 devices, loses_context is never set and so set the OMAP_TIMER_ALWON flag for OMAP1 timers to ensure that code is equivalent. Signed-off-by: Jon Hunter Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed