From patchwork Wed Feb 6 19:39:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2106211 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3EAF1DF2A1 for ; Wed, 6 Feb 2013 19:39:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757963Ab3BFTjm (ORCPT ); Wed, 6 Feb 2013 14:39:42 -0500 Received: from mail-yh0-f53.google.com ([209.85.213.53]:35178 "EHLO mail-yh0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755031Ab3BFTjl (ORCPT ); Wed, 6 Feb 2013 14:39:41 -0500 Received: by mail-yh0-f53.google.com with SMTP id q3so201533yhf.26 for ; Wed, 06 Feb 2013 11:39:40 -0800 (PST) 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; bh=/+fuHBPIvIZvO9C8uCcuWr8+7CJGG80PNJ/GdY132EQ=; b=wZH/6Q1ipxeGm0R+mmGlc+aqSgn6aNoFEIkTZVGYQnWF4OOfCGWNKgtDs8Jqm4iDqP gVPIjiZ4HzN6Qk7wfwetG3T8SiS5IpVMUO4wC06YjYNL1/0vjNnnHmKLDynumeVK7W18 amiGDn56VPLdv1TeSYHMLnjaoNxVoDtSp3svYRDau9lEZbmn1+KRI5pafY97EJWIpte+ WFUFquMOFqA230mfb3O8Ktya10oj/h84AtvYLSGVqdsUs0XIpc/RLoDze1sz9tmunfej kFt/3Ny4UM0NygtWtbApdIqaTg/suZjbLOFqQo+m6uO8bo4bsmNEx+KDyZjRJnsxqqVZ N6cw== X-Received: by 10.236.173.1 with SMTP id u1mr37936701yhl.2.1360179580661; Wed, 06 Feb 2013 11:39:40 -0800 (PST) Received: from localhost.localdomain (D32451F2.uspool.samsung.com. [211.36.81.242]) by mx.google.com with ESMTPS id d19sm23043770anm.18.2013.02.06.11.39.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 11:39:39 -0800 (PST) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org Cc: "Rafael J. Wysocki" , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, Thomas Abraham , cpufreq@vger.kernel.org Subject: [PATCH 1/3] cpufreq: exynos: Remove error return even if no soc found Date: Wed, 6 Feb 2013 11:39:20 -0800 Message-Id: <1360179562-19950-1-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.5.4 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This change is needed for adding different type of cpufreq driver and support single binary image. Signed-off-by: Amit Daniel Kachhap --- drivers/cpufreq/exynos-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 7012ea8..9d3690a 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -272,7 +272,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;