From: Paul Walmsley Date: Wed, 22 Dec 2010 04:05:15 +0000 (-0700) Subject: OMAP2/3: clockdomain: remove unneeded .clkstctrl_reg, remove some direct CM register... X-Git-Tag: v2.6.38-rc1~469^2~15^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ae35073b1c76f24c3736cf797c40d9932b19aa;p=pandora-kernel.git OMAP2/3: clockdomain: remove unneeded .clkstctrl_reg, remove some direct CM register accesses Reverse some of the effects of commit 84c0c39aec31a09571fc08a752a2f4da0fe9fcf2 ("ARM: OMAP4: PM: Make OMAP3 Clock-domain framework compatible for OMAP4"). On OMAP2/3, the CM_CLKSTCTRL register is at a constant offset from the powerdomain's CM instance. Also, remove some of the direct CM register access from the clockdomain code, moving it to the OMAP2/3 CM code instead. The intention here is to simplify the clockdomain code. (The long-term goal is to move all direct CM register access across the OMAP core code to the appropriate cm*.c file.) Signed-off-by: Paul Walmsley Tested-by: Rajendra Nayak Tested-by: Santosh Shilimkar --- Reading git-diff-tree failed