From: Tomi Valkeinen Date: Mon, 14 Mar 2011 12:28:57 +0000 (-0500) Subject: OMAP: DSS2: Clean up for dpll4_m4_ck handling X-Git-Tag: v2.6.39-rc1~98^2~58^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0acf659f1469725fb6e39d53af970f36c5f69a41;p=pandora-kernel.git OMAP: DSS2: Clean up for dpll4_m4_ck handling OMAP2 does not have dpll4_m4_ck source clock for dss functional clock, but later OMAPs do. Currently we check for cpu type in multiple places to find out if dpll4_m4_ck is available. This patch cleans up dss.c by using the fact that dss.dpll4_m4_ck pointer is NULL on OMAP2. This allows us to remove many of the cpu checks. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed