From patchwork Fri Sep 9 11:18:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 75874 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp290134qgf; Fri, 9 Sep 2016 04:18:26 -0700 (PDT) X-Received: by 10.66.145.73 with SMTP id ss9mr5515375pab.82.1473419897582; Fri, 09 Sep 2016 04:18:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x72si3499434pfk.277.2016.09.09.04.18.17; Fri, 09 Sep 2016 04:18:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753827AbcIILSQ (ORCPT + 14 others); Fri, 9 Sep 2016 07:18:16 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:34823 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753028AbcIILSP (ORCPT ); Fri, 9 Sep 2016 07:18:15 -0400 Received: by mail-pa0-f41.google.com with SMTP id b2so27645725pat.2 for ; Fri, 09 Sep 2016 04:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=UQ2s4mgjzGAKBeVFG/fuiwfXomJLVUZV/xsLDYiwulg=; b=kPcWqDO7HHONrSmwNHPa+kt5YFCc4hRBeEjDXS0KrszmjOhlTV6H2LojTUYP3++FZK JCsW17tDe8/yxbaccDoyiMB4RATeobuEMgDGE3Zo0zMmxASUVgZ0bMQnc89WqDpu8Nd9 7jF4ySh/pbreDqs3uEP7+IIdzUY6FTdBhkRxU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UQ2s4mgjzGAKBeVFG/fuiwfXomJLVUZV/xsLDYiwulg=; b=TeVZAeFm9RkgyT0+h6cL8NINL3j9FADRZuSnv5KXuZu8zClyhFOjP3baxIuR+jAA5B VNWjESAo6rxBWDRAqSyPoJJQQCuJoY4pbjs01uQQqh52KlUXGY3IDFbLY4lDB0M/y3hd 7+iKrDdvQOPI8H41iF1pj1MFQFRAOmxMYvapz8doksOu9zPkr/T00ygsf73mG1JJf0kv AKdVCM39MHNJ322k8/5BdAmzQNR/uVJE/bzRLoJc3gtL7h+jPyU2wn3hSTxYmUdoikCY wM1QUaboNmpevCTzql2mn12YkGozVIO9q1VBQg0ykQqIfnXxHfga0stEBbRusPX5iLuQ sxkg== X-Gm-Message-State: AE9vXwNBUHJuQTkfQfS6XaEvuQzFt/+ABFBCBn2Zo1spPKS+TfRU+tFPzCqXMtqYgDZzMeD6 X-Received: by 10.67.1.35 with SMTP id bd3mr5634557pad.16.1473419894412; Fri, 09 Sep 2016 04:18:14 -0700 (PDT) Received: from localhost ([171.61.121.167]) by smtp.gmail.com with ESMTPSA id p74sm4590490pfk.68.2016.09.09.04.18.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Sep 2016 04:18:13 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Juri.Lelli@arm.com, arnd.bergmann@linaro.org Subject: [PATCH 1/3] cpufreq: dt: Remove unused code Date: Fri, 9 Sep 2016 16:48:06 +0530 Message-Id: <1f5ea403f4a540a0187586e60b4f3a934fa0fc7d.1473419844.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This is leftover from an earlier patch which removed the usage of platform data but forgot to remove this line. Remove it now. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.1.410.g6faf27b -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 3957de801ae8..2bd20534155d 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@ -366,8 +366,6 @@ static int dt_cpufreq_probe(struct platform_device *pdev) if (ret) return ret; - dt_cpufreq_driver.driver_data = dev_get_platdata(&pdev->dev); - ret = cpufreq_register_driver(&dt_cpufreq_driver); if (ret) dev_err(&pdev->dev, "failed register driver: %d\n", ret);