]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: db8500: Fetch cpufreq table from platform data
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Oct 2012 11:42:25 +0000 (13:42 +0200)
committerMike Turquette <mturquette@ti.com>
Sat, 10 Nov 2012 00:47:05 +0000 (16:47 -0800)
commitfdb44464ce844dc72e194a6671996fa8cfdbc532
tree13a89d52fcf57fbef4959902a36a830cc8019993
parentb46894447170963d7a29050b79fe532deab0966f
cpufreq: db8500: Fetch cpufreq table from platform data

By fetching the table as platform data we do not need the internally
hardcoded cpufreq table anymore.

Moreover the corresponding arm_opp idx2opp table, used for mapping
frequency to correct opp bits is also removed. This due to that the
opp bits is put directly in the index field of the cpufreq table.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/cpufreq/db8500-cpufreq.c