cpufreq: exynos: Remove error return even if no soc is found
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Mon, 8 Apr 2013 08:17:36 +0000 (08:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Apr 2013 11:19:26 +0000 (13:19 +0200)
This patch helps to have single binary for exynos5440 and previous
exynos soc's. This change is needed for adding exynos5440 cpufreq driver
which does not uses exynos-cpufreq common file and adds it own driver.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/exynos-cpufreq.c

index c0c4ce5..475b4f6 100644 (file)
@@ -294,7 +294,7 @@ static int __init exynos_cpufreq_init(void)
        else if (soc_is_exynos5250())
                ret = exynos5250_cpufreq_init(exynos_info);
        else
-               pr_err("%s: CPU type not found\n", __func__);
+               return 0;
 
        if (ret)
                goto err_vdd_arm;