From patchwork Thu May 22 05:37:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 30564 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f70.google.com (mail-qg0-f70.google.com [209.85.192.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 23CB820675 for ; Thu, 22 May 2014 05:39:02 +0000 (UTC) Received: by mail-qg0-f70.google.com with SMTP id i50sf6468933qgf.9 for ; Wed, 21 May 2014 22:39:01 -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=1VB9INviaCAuoUVQFFthD2k9Eef/PWE3suvegjDi8qI=; b=Zz7Oy91uUh7azQw/SRm9M9M7k4PFrmAmmChGLoT8or8tyUMv3CAqHBF6OadrIBwjt1 0EGJyRDxzIhTgzCUiZvVL3yZzOqb5x7W4KNMPOdffDUdgcwKBP7YePHeLGlfLJjiYKh7 /j6X1hy3N5Hd4fJ8AdPf/U19+9LAeu0y+hUoTPjt4DkCqr+imP3QspZeHfms32B6bUmW DSGXvo1NKwF9+FA80aCBdCv0gXayZDwHfUuTB7zz9pIht1+ly8vc9OwzOTxuUeqWkE48 MHJJDcXG3KX/rvK/zrve5Y6i/lZCxdLeAl3+Dc9wSjIzs6vgydJVwfFwAo/MTu9phsFv WgVQ== X-Gm-Message-State: ALoCoQnwlx5H0s1FHxpHmyeUBUHnyjMPoBfm9cU7Cx7h6heqoTAiF5ulRnKbwivIl5n+YxVEycP2 X-Received: by 10.236.136.66 with SMTP id v42mr2030128yhi.24.1400737141957; Wed, 21 May 2014 22:39:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.33.164 with SMTP id j33ls1160279qgj.73.gmail; Wed, 21 May 2014 22:39:01 -0700 (PDT) X-Received: by 10.220.69.72 with SMTP id y8mr13878258vci.21.1400737141876; Wed, 21 May 2014 22:39:01 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id q3si4281917vcx.104.2014.05.21.22.39.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 22:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id pa12so3811849veb.32 for ; Wed, 21 May 2014 22:39:01 -0700 (PDT) X-Received: by 10.52.37.48 with SMTP id v16mr11752990vdj.4.1400737141685; Wed, 21 May 2014 22:39:01 -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 ib8csp169795vcb; Wed, 21 May 2014 22:39:01 -0700 (PDT) X-Received: by 10.68.99.194 with SMTP id es2mr64908699pbb.100.1400737140854; Wed, 21 May 2014 22:39:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy3si9070659pbb.230.2014.05.21.22.39.00; Wed, 21 May 2014 22:39:00 -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 S1753949AbaEVFit (ORCPT + 27 others); Thu, 22 May 2014 01:38:49 -0400 Received: from mail-qg0-f53.google.com ([209.85.192.53]:48395 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753848AbaEVFiq (ORCPT ); Thu, 22 May 2014 01:38:46 -0400 Received: by mail-qg0-f53.google.com with SMTP id f51so4812501qge.12 for ; Wed, 21 May 2014 22:38:45 -0700 (PDT) X-Received: by 10.224.80.138 with SMTP id t10mr75881795qak.0.1400737125905; Wed, 21 May 2014 22:38:45 -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 il9sm5366541qab.22.2014.05.21.22.38.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 21 May 2014 22:38:45 -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 , Amit Daniel Kachhap , Kukjin Kim Subject: [PATCH V3 8/8] cpufreq: exynos5440: don't initialize opp table Date: Thu, 22 May 2014 11:07:32 +0530 Message-Id: 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.173 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: , CPU OPP tables are already initialized by CPU core and we don't need to reinitialize them from exynos5440's driver. Cc: Amit Daniel Kachhap Cc: 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) {