]> git.baikalelectronics.ru Git - kernel.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)
commit6e506e30d2b662df5450e5eff0b0d8e47fe16cb7
treede9860d153992d5d088342930c64313db9f45d85
parent14650fdb649ed27ea091c48e48d1e5e0c62fed0e
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