From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Daniel Kachhap Subject: [PATCH V3 2/4] cpufreq: exynos: Remove error return even if no soc is found Date: Thu, 7 Mar 2013 09:43:45 +0530 Message-ID: <1362629627-10012-2-git-send-email-amit.daniel@samsung.com> References: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=0RRXFWqRZKoyDubdlp30gaBpygtYV6TqlnoWKHStDds=; b=x1F0B3AOxzaW8jy2ov5gSr5LlK8p/hkjg3XH6szs4U0o6hf+iFBbmtSVCeLYnIlXL2 n9eAiQ+tt39kJFV9wYF8Jkt46H7hHcF888PzO6gpY6Oj9vy7+j5ezVesernOIua0b0XZ 6dMNjar4WqvC6zK6nv8legDj28l+HYeITv8H4KfG+SVqZZA17V6N8wK0PA6iHuaitGbj MVUoR0ETOgr9lwIN0PpQG7pOalG9XaVH13NrXaQHmGNSTP4Nu0VFsQx5n2G0Tlm9Xkx1 RbR08FXyfKjykkI+D3QIH6Tk9NyBbHXYKYPBX8sF/mibZOtywkMq4prySSKR7DWXhjvx RUvw== In-Reply-To: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kukjin Kim , Thomas Abraham , cpufreq@vger.kernel.org, Inderpal Singh , Viresh Kumar 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 --- drivers/cpufreq/exynos-cpufreq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); else - pr_err("%s: CPU type not found\n", __func__); + return 0; if (ret) goto err_vdd_arm; -- 1.7.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: amit.daniel@samsung.com (Amit Daniel Kachhap) Date: Thu, 7 Mar 2013 09:43:45 +0530 Subject: [PATCH V3 2/4] cpufreq: exynos: Remove error return even if no soc is found In-Reply-To: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> References: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> Message-ID: <1362629627-10012-2-git-send-email-amit.daniel@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 --- drivers/cpufreq/exynos-cpufreq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); else - pr_err("%s: CPU type not found\n", __func__); + return 0; if (ret) goto err_vdd_arm; -- 1.7.1