Merge tag 'powerpc-4.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[cascardo/linux.git] / arch / arm / mach-imx / cpu-imx5.c
index 3403bac..4f2d1c7 100644 (file)
@@ -60,13 +60,9 @@ static int get_mx51_srev(void)
 /*
  * Returns:
  *     the silicon revision of the cpu
- *     -EINVAL - not a mx51
  */
 int mx51_revision(void)
 {
-       if (!cpu_is_mx51())
-               return -EINVAL;
-
        if (mx5_cpu_rev == -1)
                mx5_cpu_rev = get_mx51_srev();
 
@@ -112,13 +108,9 @@ static int get_mx53_srev(void)
 /*
  * Returns:
  *     the silicon revision of the cpu
- *     -EINVAL - not a mx53
  */
 int mx53_revision(void)
 {
-       if (!cpu_is_mx53())
-               return -EINVAL;
-
        if (mx5_cpu_rev == -1)
                mx5_cpu_rev = get_mx53_srev();