ARM: mxs: remove cpu_is_mx23() call from timer code
authorShawn Guo <shawn.guo@linaro.org>
Mon, 25 Mar 2013 11:41:39 +0000 (19:41 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:30:02 +0000 (16:30 +0800)
commit220d2f269ab017c139bbce2cb41f3bd1b1ddcffa
tree40e5b52bea4bcbd10eaa5ea151223dcdb349ee0e
parentbe35bd2bcd4fc5d67a24ad134138e606f69d11a4
ARM: mxs: remove cpu_is_mx23() call from timer code

Remove cpu_is_mx23() call from timer code by using
of_device_is_compatible() instead.

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