cpufreq: dt: Remove unused code
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Sep 2016 11:18:06 +0000 (16:48 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Sep 2016 00:39:12 +0000 (02:39 +0200)
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>
drivers/cpufreq/cpufreq-dt.c

index 3957de801ae8260770051bc07a0fc391ea45c9c1..2bd20534155d89bc4d04688af5d2fa5957f9ca96 100644 (file)
@@ -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);