Commit f3f24dea authored by Viresh Kumar's avatar Viresh Kumar Committed by Rafael J. Wysocki

cpufreq: tegra124: No need of setting platform-data

All CPUs on Tegra platform share clock/voltage lines and there is
absolutely no need of setting platform data for 'cpufreq-dt' platform
device, as that's the default case.

Stop setting platform data for cpufreq-dt device.
Signed-off-by: default avatarViresh Kumar <>
Tested-by: default avatarThierry Reding <>
Acked-by: default avatarThierry Reding <>
Signed-off-by: default avatarRafael J. Wysocki <>
parent dbbe972c
......@@ -14,7 +14,6 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/clk.h>
#include <linux/cpufreq-dt.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
......@@ -69,10 +68,6 @@ static void tegra124_cpu_switch_to_pllx(struct tegra124_cpufreq_priv *priv)
clk_set_parent(priv->cpu_clk, priv->pllx_clk);
static struct cpufreq_dt_platform_data cpufreq_dt_pd = {
.independent_clocks = false,
static int tegra124_cpufreq_probe(struct platform_device *pdev)
struct tegra124_cpufreq_priv *priv;
......@@ -129,8 +124,6 @@ static int tegra124_cpufreq_probe(struct platform_device *pdev) = "cpufreq-dt";
cpufreq_dt_devinfo.parent = &pdev->dev; = &cpufreq_dt_pd;
cpufreq_dt_devinfo.size_data = sizeof(cpufreq_dt_pd);
priv->cpufreq_dt_pdev =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment