From: Amit Daniel Kachhap Date: Mon, 8 Apr 2013 08:17:36 +0000 (+0000) Subject: cpufreq: exynos: Remove error return even if no soc is found X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1585207a54659c51e0cebb7a208c6671cc3f03c;p=linux-beck.git cpufreq: exynos: Remove error return even if no soc is found 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 Acked-by: Kukjin Kim Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index c0c4ce53b9e9..475b4f607f0d 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -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;