diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-09-09 16:48:06 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-13 02:39:12 +0200 |
commit | e86eee6bc2aaa6b3637f6497b26beee09a91bde9 (patch) | |
tree | aa6df55491b92740504cac50f07d33ff64fe469c | |
parent | dabe73cbeba463e559741355afce010cea7dacaf (diff) | |
download | linux-e86eee6bc2aaa6b3637f6497b26beee09a91bde9.tar.bz2 |
cpufreq: dt: Remove unused code
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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/cpufreq-dt.c | 2 |
1 files changed, 0 insertions, 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); |