cpufreq: arm-big-little: use clk_get instead of clk_get_sys
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 16 Oct 2013 13:52:39 +0000 (14:52 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2013 21:19:17 +0000 (23:19 +0200)
commit076dec90fc32c830184b0f0fa1842a6de1199bc6
tree1b8a8a0477b70c7ca8c0d9c20b4ab0c3d7c6252a
parent5d7e690d775e59e51caaf03e90811af7729ef278
cpufreq: arm-big-little: use clk_get instead of clk_get_sys

Currently clk_get_sys is used with cpu-cluster.<n> as the device id
which is incorrect. It should be connection/consumer ID instead.

It is possible to specify input clock in the cpu device node along
with the optional clock-name. clk_get_sys can't handle that.

This patch replaces clk_get_sys with clk_get to extend support for
clocks specified in the device tree cpu node.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/arm_big_little.c