From patchwork Sat Mar 2 09:34:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2206361 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4FB4740B27 for ; Sat, 2 Mar 2013 09:35:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982Ab3CBJei (ORCPT ); Sat, 2 Mar 2013 04:34:38 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:45084 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595Ab3CBJef (ORCPT ); Sat, 2 Mar 2013 04:34:35 -0500 Received: by mail-pa0-f41.google.com with SMTP id fb11so2297234pad.28 for ; Sat, 02 Mar 2013 01:34:35 -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 :in-reply-to:references; bh=0RRXFWqRZKoyDubdlp30gaBpygtYV6TqlnoWKHStDds=; b=K9ObR8MCrvqkOUAhpiRTsRZmp8lfREnNyZrdIbEiNkW4+dtAshm/UB9EfdOUPYk6kY P0yQjV+glYO9ggGRB4Y4aR3YICgto3cjspPGqncBw3v9jut7kl5YuYeOBWqnaS7kQekS 9nBB5fLBGZ8poSi4vkq4rfqdehHcC1jyfi28t69ekaJliiDK5XWg7dSgq+rHfo+3QfgS lXNDO90vM7oI8cz6/YTw76E1GbvsFAo5h0ZjZQ/Dp1CxsTIIR1aui3hlZnr9z2o8Ry3O 6KPG9pqVTl/+8orUuqY83tuIS2L4MQYR3wMZ7D5+iW/9E0t5MeBYfETanVCxgzRJCPHr V5Gw== X-Received: by 10.68.216.7 with SMTP id om7mr18616837pbc.149.1362216875324; Sat, 02 Mar 2013 01:34:35 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kb3sm15041628pbc.21.2013.03.02.01.34.30 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 02 Mar 2013 01:34:34 -0800 (PST) From: Amit Daniel Kachhap 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, kgene.kim@samsung.com, Thomas Abraham , cpufreq@vger.kernel.org, Inderpal Singh , Viresh Kumar Subject: [PATCH V2 2/4] cpufreq: exynos: Remove error return even if no soc is found Date: Sat, 2 Mar 2013 15:04:12 +0530 Message-Id: <1362216854-6633-2-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1362216854-6633-1-git-send-email-amit.daniel@samsung.com> References: <1362216854-6633-1-git-send-email-amit.daniel@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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;