PM / devfreq: rk3399_dmc: rename of_get_opp_table
[firefly-linux-kernel-4.4.55.git] / drivers / devfreq / rk3399_dmc.c
index 1e25c3441155a62bb5ed096187c1995c339baafc..98312f9b0d62ea6004b5918d012249c93bf342d8 100644 (file)
@@ -337,8 +337,8 @@ err:
        return timing;
 }
 
        return timing;
 }
 
-static int of_get_opp_table(struct device *dev,
-                           struct devfreq_dev_profile *devp)
+static int rk3399_dmcfreq_init_freq_table(struct device *dev,
+                                         struct devfreq_dev_profile *devp)
 {
        int count;
        int i = 0;
 {
        int count;
        int i = 0;
@@ -448,7 +448,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
                return -EINVAL;
        }
 
                return -EINVAL;
        }
 
-       if (of_get_opp_table(dev, devp))
+       if (rk3399_dmcfreq_init_freq_table(dev, devp))
                return -EFAULT;
 
        of_property_read_u32(np, "upthreshold",
                return -EFAULT;
 
        of_property_read_u32(np, "upthreshold",