From patchwork Tue May 27 11:50:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 30967 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A18E7203C3 for ; Tue, 27 May 2014 11:53:54 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf48120088oag.6 for ; Tue, 27 May 2014 04:53:53 -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=Z9dd+sNEpFlsZqP7P4g71TCw0QscBRIuKUNsgw8i9lQVAQ8e/OzoiSFoNmEVP19QDw ixuuezYQnJbfNZHXNQpf467znxWSOOWkTb57cut1GzylA3YXcs6BEw4cIxk8IDi9sVJ0 9XZI4I1DUZyHiV54lrxIaGBXHyscRa4NGYUQB4dZ/6RuRpfF7ZLsmh+vHVOAj42ZfvNw 98t8ptRIF4OPAQZhv0mLiF+FWPn1E+JynIioOY6/spFtNl0x3KpyqjNH4xKPPj5Vv9ts 6sF0nLU4WA7oeV+kq7v2HvnuA76UEysISpYS/9lOT9Zzbmlk1RG5SeJpvT2n/4Rofutz Y/bw== X-Gm-Message-State: ALoCoQmjS+TblFoOSDM2VAErlrxo53RHNGNPlcs/dCirKukssDAi27EA9nsswiKzOBwqzmj9BUsa X-Received: by 10.43.126.130 with SMTP id gw2mr10935451icc.15.1401191633718; Tue, 27 May 2014 04:53:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.67 with SMTP id g61ls3117657qgg.12.gmail; Tue, 27 May 2014 04:53:53 -0700 (PDT) X-Received: by 10.220.82.133 with SMTP id b5mr26416560vcl.13.1401191633533; Tue, 27 May 2014 04:53:53 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id j2si7937566vcy.78.2014.05.27.04.53.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 04:53:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so10572684veb.30 for ; Tue, 27 May 2014 04:53:53 -0700 (PDT) X-Received: by 10.52.138.14 with SMTP id qm14mr769643vdb.49.1401191633465; Tue, 27 May 2014 04:53:53 -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 ib8csp112625vcb; Tue, 27 May 2014 04:53:53 -0700 (PDT) X-Received: by 10.68.138.227 with SMTP id qt3mr35987481pbb.6.1401191632694; Tue, 27 May 2014 04:53:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id te5si18736759pab.12.2014.05.27.04.53.52 for ; Tue, 27 May 2014 04:53:52 -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 S1752510AbaE0Lxj (ORCPT + 27 others); Tue, 27 May 2014 07:53:39 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:62269 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbaE0Lxg (ORCPT ); Tue, 27 May 2014 07:53:36 -0400 Received: by mail-pa0-f49.google.com with SMTP id lj1so8999575pab.22 for ; Tue, 27 May 2014 04:53:35 -0700 (PDT) X-Received: by 10.68.178.194 with SMTP id da2mr35591043pbc.151.1401191615534; Tue, 27 May 2014 04:53:35 -0700 (PDT) Received: from localhost ([223.227.245.64]) by mx.google.com with ESMTPSA id om6sm23003718pbc.43.2014.05.27.04.53.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 04:53:34 -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 V4 8/8] cpufreq: exynos5440: don't initialize opp table Date: Tue, 27 May 2014 17:20:57 +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.171 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) {