]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: imx6: do not use cpu_is_xxx() in clock driver
authorShawn Guo <shawn.guo@linaro.org>
Sun, 26 Apr 2015 02:43:52 +0000 (10:43 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:44:31 +0000 (14:44 +0800)
commit961dfd37fa165c8d5019648edcec966f28300959
treede9860d153992d5d088342930c64313db9f45d85
parentf0b478b5d42ee9d925b45c22cbdc1ad4c90c3cf1
ARM: imx6: do not use cpu_is_xxx() in clock driver

As we're about to move clock drivers out of arch/arm/mach-imx,
cpu_is_xxx() shouldn't be used any more.  Let's avoid the call by
looking at the device tree machine compatible string to determine
which SoC the clock driver is running on.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c