From patchwork Mon May 19 06:17:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 30362 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4111203AB for ; Mon, 19 May 2014 06:18:35 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf28353495obc.0 for ; Sun, 18 May 2014 23:18:35 -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=g6pjGCiTnulXLTy1mvyo6aIX/3Natcfgq8No5WOX+Bo=; b=TsiuYkF6KTEl5IItuh1xJUjY2UPidMnOg3/HxK8OBUdGOoTsAeH/4/CSwDnRhJCLb1 9Rxr10euViVSTAXX8x22aBRHLgbdyXI2V9sB2NLjODZCvmXiMcf+gis2LF+69rVFs/sa UeI/2ZpEWKRktTgF6IYgBVJSFu/JUZUMQL9PV1We+bqHae+pm3bSOCqrm7lvZuqmR5JP ZV05DjxLVLFjSLjRhz/gQiBawODZLrUvuchVWz5GVS/butPWykDCafqsrLqA7KeRh0Sv gn3aPOwPaftLrQIIhr4tSAEC5DO1bv03xGh6K6462L2QFOcHOgxQbGXnOmGPYtlXAIAO YhOA== X-Gm-Message-State: ALoCoQm29G7YTNWi0wr5JHm+T0InbUVfnIlMMGzY3H5B98rHpVxyd+X4R29jfU/RSLvWn8aojPNE X-Received: by 10.182.79.41 with SMTP id g9mr15768203obx.41.1400480315397; Sun, 18 May 2014 23:18:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.5 with SMTP id s5ls46159qgd.75.gmail; Sun, 18 May 2014 23:18:35 -0700 (PDT) X-Received: by 10.220.12.66 with SMTP id w2mr13059412vcw.15.1400480315301; Sun, 18 May 2014 23:18:35 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id uc9si3663035vdc.66.2014.05.18.23.18.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 18 May 2014 23:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lg15so8903027vcb.7 for ; Sun, 18 May 2014 23:18:35 -0700 (PDT) X-Received: by 10.58.135.136 with SMTP id ps8mr2940612veb.18.1400480315188; Sun, 18 May 2014 23:18:35 -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 ib8csp223360vcb; Sun, 18 May 2014 23:18:34 -0700 (PDT) X-Received: by 10.66.137.109 with SMTP id qh13mr40074003pab.39.1400480313777; Sun, 18 May 2014 23:18:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xx4si18165141pab.114.2014.05.18.23.18.33; Sun, 18 May 2014 23:18:33 -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 S1752904AbaESGS3 (ORCPT + 27 others); Mon, 19 May 2014 02:18:29 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:34164 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886AbaESGS0 (ORCPT ); Mon, 19 May 2014 02:18:26 -0400 Received: by mail-wg0-f51.google.com with SMTP id x13so7432000wgg.22 for ; Sun, 18 May 2014 23:18:25 -0700 (PDT) X-Received: by 10.194.192.36 with SMTP id hd4mr8717997wjc.39.1400480305392; Sun, 18 May 2014 23:18:25 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id ej2sm12809658wjd.21.2014.05.18.23.18.21 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 18 May 2014 23:18:24 -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, pavel@ucw.cz, nm@ti.com, chander.kashyap@linaro.org, Viresh Kumar , Shawn Guo Subject: [PATCH 4/5] cpufreq: cpufreq-cpu0: don't initialize opp table Date: Mon, 19 May 2014 11:47:24 +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.220.176 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 cpufreq-cpu0 driver. Cc: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-cpu0.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c index 1bf6bba..4301c7c 100644 --- a/drivers/cpufreq/cpufreq-cpu0.c +++ b/drivers/cpufreq/cpufreq-cpu0.c @@ -152,12 +152,6 @@ static int cpu0_cpufreq_probe(struct platform_device *pdev) goto out_put_node; } - ret = of_init_opp_table(cpu_dev); - if (ret) { - pr_err("failed to init OPP table: %d\n", ret); - goto out_put_node; - } - ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table); if (ret) { pr_err("failed to init cpufreq table: %d\n", ret);