Skip to content

Commit

Permalink
cpufreq: dt: Remove unused code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Sep 13, 2016
1 parent dabe73c commit e86eee6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/cpufreq/cpufreq-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e86eee6

Please sign in to comment.