ARM: i.MX: change dev_id to cpu0 while registering cpu clock
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 10 Sep 2013 17:59:48 +0000 (18:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 Sep 2013 01:53:44 +0000 (03:53 +0200)
commit3d10a887de7ffe704687c9a77abaac9fbe5e9208
tree4589306e5048659db77455cd87f953dc6e5604b1
parentb494b48dacb4dd848d76bc8871e55716486f0253
ARM: i.MX: change dev_id to cpu0 while registering cpu clock

Currently all clkdev registration use "cpufreq-cpu0.0" as dev_id
for cpu clock which refers to virtual platform device. It needs to
be "cpu0" instead which is actual cpu0 device id.

This patch changes the dev_id from "cpufreq-cpu0.0" to "cpu0".

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-imx/clk-imx27.c
arch/arm/mach-imx/clk-imx51-imx53.c