From: Jean Pihet Date: Thu, 4 Oct 2012 16:47:11 +0000 (+0200) Subject: ARM: OMAP: SmartReflex: pass device dependent data via platform data X-Git-Tag: omap-for-v3.8/pm-signed~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98aed08e16c5f18d0c31fc07127bc163ccd0d04c;p=pandora-kernel.git ARM: OMAP: SmartReflex: pass device dependent data via platform data Remove the device dependent code (ex. cpu_is_xxx()) and settings from the driver code and instead pass them via the platform data. This allows a clean separation of the driver code and the platform code, as required by the move of the platform header files to include/linux/platform_data. Note about the smartreflex functional clocks: the smartreflex fclks are derived from sys_clk and have the same name as the main_clk from the hwmod entry, in order for the SmartReflex driver to request the fclk (using clk_get(dev, "fck")). Signed-off-by: Jean Pihet Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed