ARM: shmobile: change dev_id to cpu0 while registering cpu clock
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 10 Sep 2013 17:59:49 +0000 (18:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 Sep 2013 01:53:44 +0000 (03:53 +0200)
commite4a6a29d1250022a885123cc0a04bd176b508854
tree2848f4750429df78dcc74e2db227e6ee66bf5204
parent3d10a887de7ffe704687c9a77abaac9fbe5e9208
ARM: shmobile: 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-and-tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Magnus Damm <damm@opensource.se>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-shmobile/clock-r8a73a4.c
arch/arm/mach-shmobile/clock-sh73a0.c