From patchwork Thu Mar 28 08:05: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: 2355291 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 C57293FD40 for ; Thu, 28 Mar 2013 08:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755375Ab3C1IHa (ORCPT ); Thu, 28 Mar 2013 04:07:30 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:61898 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467Ab3C1IFu (ORCPT ); Thu, 28 Mar 2013 04:05:50 -0400 Received: by mail-pa0-f44.google.com with SMTP id bi5so2568345pad.17 for ; Thu, 28 Mar 2013 01:05:49 -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=FYKHU+losgiHF9FCgBP0wFc17okXJ8dAus+8jp15BZIb6x6AIkS9pRTLrfT9IkH+P3 +XlEh7cIMB+enzE+fSh/ZG0NNvo4SPdmKg/OgWsUOSteVb3A6YrZlWcRbtJNELQHirDt W7LTOtKapWQRDG5/0iOpmY2xwBuPlsyGaWf5TwJMOlLndDr7pKPUYaX6LBOBSljzlTsb lpqwfp6scHD4YSk0WT6pQSk2n+dzWnT4PIuDQjRHOdvtk793UhYd+z9kP5nx8xMZPrcb rCP+Y58zJB3GpyMWWYdoX3hGICrmPQqBVXz0g1+Dl/8zQXfgMW8X0oe7OssA/ulo+97i ktHQ== X-Received: by 10.68.180.193 with SMTP id dq1mr34464541pbc.67.1364457949471; Thu, 28 Mar 2013 01:05:49 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id fk1sm24621733pbd.36.2013.03.28.01.05.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 28 Mar 2013 01:05:48 -0700 (PDT) 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, Kukjin Kim , Thomas Abraham , cpufreq@vger.kernel.org, Inderpal Singh , Viresh Kumar , Sylwester Nawrocki , Russell King - ARM Linux Subject: [PATCH V5 2/4] cpufreq: exynos: Remove error return even if no soc is found Date: Thu, 28 Mar 2013 13:35:20 +0530 Message-Id: <1364457923-8499-3-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1364457923-8499-1-git-send-email-amit.daniel@samsung.com> References: <1364457923-8499-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;