[V2,2/4] cpufreq: exynos: Remove error return even if no soc is found
diff mbox

Message ID 1362216854-6633-2-git-send-email-amit.daniel@samsung.com
State New, archived
Headers show

Commit Message

Amit Kachhap March 2, 2013, 9:34 a.m. UTC
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>
 drivers/cpufreq/exynos-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff mbox

diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 78057a3..ee75997 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -297,7 +297,7 @@  static int __init exynos_cpufreq_init(void)
 	else if (soc_is_exynos5250())
 		ret = exynos5250_cpufreq_init(exynos_info);
-		pr_err("%s: CPU type not found\n", __func__);
+		return 0;
 	if (ret)
 		goto err_vdd_arm;