summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx51.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-22 16:58:41 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-25 16:18:23 +0200
commit7ead83f6df2b105e4973140fe323a93ccfd4f8f9 (patch)
tree0faafc8bd758ff32f58d35785ea4977ca2dc17a5 /arch/arm/mach-imx/mach-imx51.c
parenta59511d1daa6406eede58a79f99250ffcd9a3566 (diff)
cpufreq: imx: Use generic platdev driver
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Note that the complete routine imx27_dt_init() is removed as of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); has same effect as a NULL .init_machine machine callback pointer. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx51.c')
-rw-r--r--arch/arm/mach-imx/mach-imx51.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-imx51.c b/arch/arm/mach-imx/mach-imx51.c
index 6883fbaf9484..10a82a4f1e58 100644
--- a/arch/arm/mach-imx/mach-imx51.c
+++ b/arch/arm/mach-imx/mach-imx51.c
@@ -50,13 +50,10 @@ static void __init imx51_ipu_mipi_setup(void)
static void __init imx51_dt_init(void)
{
- struct platform_device_info devinfo = { .name = "cpufreq-dt", };
-
imx51_ipu_mipi_setup();
imx_src_init();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
- platform_device_register_full(&devinfo);
}
static void __init imx51_init_late(void)