From patchwork Wed May 21 11:10:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 30528 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2A31A20671 for ; Wed, 21 May 2014 11:11:32 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id a108sf3908087qge.2 for ; Wed, 21 May 2014 04:11:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=2afyS+NSN0UvuVrHdhhmpq82ukjbHj9DRcUHtAd42/U=; b=EOEsWv7c4oKnxCArzeRWA/xD5KtWyM4/V31Rzy+wlOGj9H+CtOKhU9KASi8Dz4qWpj uVBJtB86RhtOBdW2I9WRxtgiqhiH69yE2HAL0qfwCrd2Ckqh3hr+rtVWqUuUWtj6i7h/ EJFlQ7JyrslXhSvekXUMFKFp1YKprH2V6Sa5T9sq8d6ntaNKWG1yLrKyM10DTmw+xJkO pcjiDe0y/Im2c5aQqSOCQihsP1ffOJr4mvOEBUV7/B2DmemLRLk48Yxh8e3ZNHrGNgRP wnFxXtZjceVCBits30P2nxysEpog3gXpQctYf7VkAm5NQvNbqHI4V+UEy+aIpWS/FBm3 V8fA== X-Gm-Message-State: ALoCoQkqx8TPjNKUvGv/xUaZkmuG8itZ09+L16eMRuqL38pfmas9tH+Z6+9MNh1tIcvZZYrhn5c+ X-Received: by 10.58.218.232 with SMTP id pj8mr22025234vec.3.1400670691840; Wed, 21 May 2014 04:11:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.138 with SMTP id 10ls677873qgx.9.gmail; Wed, 21 May 2014 04:11:31 -0700 (PDT) X-Received: by 10.58.195.231 with SMTP id ih7mr28727533vec.32.1400670691699; Wed, 21 May 2014 04:11:31 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id zp7si391212veb.9.2014.05.21.04.11.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 04:11:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.177 as permitted sender) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id db11so2241729veb.22 for ; Wed, 21 May 2014 04:11:31 -0700 (PDT) X-Received: by 10.221.7.71 with SMTP id on7mr9215486vcb.18.1400670691563; Wed, 21 May 2014 04:11:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp103846vcb; Wed, 21 May 2014 04:11:31 -0700 (PDT) X-Received: by 10.66.226.172 with SMTP id rt12mr58164450pac.101.1400670690675; Wed, 21 May 2014 04:11:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ns7si5781577pbb.248.2014.05.21.04.11.30; Wed, 21 May 2014 04:11:30 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbaEULLS (ORCPT + 27 others); Wed, 21 May 2014 07:11:18 -0400 Received: from mail-qg0-f50.google.com ([209.85.192.50]:59476 "EHLO mail-qg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752466AbaEULLQ (ORCPT ); Wed, 21 May 2014 07:11:16 -0400 Received: by mail-qg0-f50.google.com with SMTP id z60so2916505qgd.9 for ; Wed, 21 May 2014 04:11:15 -0700 (PDT) X-Received: by 10.224.166.9 with SMTP id k9mr67494354qay.25.1400670675591; Wed, 21 May 2014 04:11:15 -0700 (PDT) Received: from localhost (ec2-23-23-178-99.compute-1.amazonaws.com. [23.23.178.99]) by mx.google.com with ESMTPSA id f38sm531290qgd.49.2014.05.21.04.11.10 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 21 May 2014 04:11:15 -0700 (PDT) From: Viresh Kumar To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, arvind.chauhan@arm.com, inderpal.s@samsung.com, nm@ti.com, chander.kashyap@linaro.org, pavel@ucw.cz, len.brown@intel.com, sudeep.holla@arm.com, Viresh Kumar Subject: [PATCH V2 7/7] cpufreq: exynos5440: don't initialize opp table Date: Wed, 21 May 2014 16:40:05 +0530 Message-Id: <09ed496bfe585eb8e19150dfd64c778016dfb7de.1400670427.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , OPP tables are already initialized for CPU0 by cpufreq core and so we don't need to reinitialize them from exynos5440's driver. Cd: Amit Daniel Kachhap Cd: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/exynos5440-cpufreq.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c index f33f25b..72a4206 100644 --- a/drivers/cpufreq/exynos5440-cpufreq.c +++ b/drivers/cpufreq/exynos5440-cpufreq.c @@ -360,12 +360,6 @@ static int exynos_cpufreq_probe(struct platform_device *pdev) goto err_put_node; } - ret = of_init_opp_table(dvfs_info->dev); - if (ret) { - dev_err(dvfs_info->dev, "failed to init OPP table: %d\n", ret); - goto err_put_node; - } - ret = dev_pm_opp_init_cpufreq_table(dvfs_info->dev, &dvfs_info->freq_table); if (ret) {