From patchwork Tue Mar 12 09:58:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2254381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 7378BDF23A for ; Tue, 12 Mar 2013 10:02:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFLzU-0003b5-16; Tue, 12 Mar 2013 09:59:28 +0000 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFLyq-0003Mj-Je for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2013 09:58:49 +0000 Received: by mail-ie0-f180.google.com with SMTP id bn7so5985867ieb.39 for ; Tue, 12 Mar 2013 02:58:48 -0700 (PDT) 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=ir/J/YYWCB8rtsc+Fp3i+AL2x7zEd4QIEIKrzMg90PtSyqf2/PuThx9DIbhb/14kWz 2jRRLyYUmmLdJgYcWVIH2IqWH2fpPsUfmRvF0+riana63oagHKSkhmbuMVQDcM71cFmt r8MpNgMhDTEiO4jz/lzSl7UoZft78ZxClIPZx1g69yhaAZNJNeHyTVzpGgGEINfxslpC OfNHAQ8s5nGak7Gmpq+fjkeAHz/UULyrA+xTAWQGiOxS9tMf4xnAQxYM3YKe9qd5T84V b4KhhGaFb//4pnI2WDlPinff8DbWqz6osLgg7Vf9pxTc5iTJKEnMWex3aP+D3LMoaeKf Usvg== X-Received: by 10.50.2.101 with SMTP id 5mr11161427igt.29.1363082328018; Tue, 12 Mar 2013 02:58:48 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id dy5sm20446316igc.1.2013.03.12.02.58.42 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Mar 2013 02:58:47 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org Subject: [PATCH V4 2/4] cpufreq: exynos: Remove error return even if no soc is found Date: Tue, 12 Mar 2013 15:28:17 +0530 Message-Id: <1363082299-10561-3-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1363082299-10561-1-git-send-email-amit.daniel@samsung.com> References: <1363082299-10561-1-git-send-email-amit.daniel@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130312_055848_981874_0DF6B461 X-CRM114-Status: GOOD ( 14.87 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (amitdanielk[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Kukjin Kim , Russell King - ARM Linux , Viresh Kumar , linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, "Rafael J. Wysocki" , linux-samsung-soc@vger.kernel.org, Thomas Abraham , Inderpal Singh , Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@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;