]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: imx: remove last call to cpu_is_mx5*
authorArnd Bergmann <arnd@arndb.de>
Fri, 24 Jun 2016 10:50:00 +0000 (12:50 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 28 Jun 2016 02:26:42 +0000 (10:26 +0800)
commit505c19f8bcb310f6e125c8c58e401a7093c82f5a
tree430a622a966cfd4eff37a2445821e53764178eda
parent48e076dadd0a79047befa539487d8645ded0b7e7
ARM: imx: remove last call to cpu_is_mx5*

The check for cpu_is_mx51/cpu_is_mx53() in mx51_revision()/mx53_revision()
is just a safety precaution, but there are only two callers of this
are using it only on the correct CPUs, and none of the other respective
functions have this extra check.

Removing these lets us kill off the cpu_is_* functions.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/cpu-imx5.c