Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1479882 > unrolled thread

[PATCH 1/3] cpufreq: dt: Remove unused code

Started byViresh Kumar <viresh.kumar@linaro.org>
First post2016-09-09 13:20 +0200
Last post2016-09-14 03:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] cpufreq: dt: Remove unused code Viresh Kumar <viresh.kumar@linaro.org> - 2016-09-09 13:20 +0200
    Re: [PATCH 1/3] cpufreq: dt: Remove unused code "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-09-14 03:00 +0200

#1479882 — [PATCH 1/3] cpufreq: dt: Remove unused code

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-09-09 13:20 +0200
Subject[PATCH 1/3] cpufreq: dt: Remove unused code
Message-ID<sfs0F-27K-3@gated-at.bofh.it>
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 <viresh.kumar@linaro.org>
---
 drivers/cpufreq/cpufreq-dt.c | 2 --
 1 file changed, 2 deletions(-)

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);
-- 
2.7.1.410.g6faf27b

[toc] | [next] | [standalone]


#1482854

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-09-14 03:00 +0200
Message-ID<sh6Ip-17K-1@gated-at.bofh.it>
In reply to#1479882
On Friday, September 09, 2016 04:48:06 PM Viresh Kumar wrote:
> 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 <viresh.kumar@linaro.org>

All [1-3/3] applied.

Thanks,
Rafael

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web