msm: acpuclock-krait: Replace remaining pr_* prints with dev_* prints
This is done for consistency with other messages printed by this driver.
Change-Id: I373787c8a4f51f0aeba0f0556103707cf256bd43
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/acpuclock-krait.c b/arch/arm/mach-msm/acpuclock-krait.c
index 78fe5ca..1469bee 100644
--- a/arch/arm/mach-msm/acpuclock-krait.c
+++ b/arch/arm/mach-msm/acpuclock-krait.c
@@ -11,8 +11,6 @@
* GNU General Public License for more details.
*/
-#define pr_fmt(fmt) "%s: " fmt, __func__
-
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
@@ -479,8 +477,8 @@
goto out;
}
- pr_debug("Switching from ACPU%d rate %lu KHz -> %lu KHz\n",
- cpu, strt_acpu_s->khz, tgt_acpu_s->khz);
+ dev_dbg(drv.dev, "Switching from ACPU%d rate %lu KHz -> %lu KHz\n",
+ cpu, strt_acpu_s->khz, tgt_acpu_s->khz);
/* Set the new CPU speed. */
set_speed(&drv.scalable[cpu], tgt_acpu_s);
@@ -507,7 +505,7 @@
/* Drop VDD levels if we can. */
decrease_vdd(cpu, &vdd_data, reason);
- pr_debug("ACPU%d speed change complete\n", cpu);
+ dev_dbg(drv.dev, "ACPU%d speed change complete\n", cpu);
out:
if (reason == SETRATE_CPUFREQ || reason == SETRATE_HOTPLUG)
@@ -519,7 +517,7 @@
static void __init hfpll_init(struct scalable *sc,
const struct core_speed *tgt_s)
{
- pr_debug("Initializing HFPLL%d\n", sc - drv.scalable);
+ dev_dbg(drv.dev, "Initializing HFPLL%d\n", sc - drv.scalable);
/* Disable the PLL for re-programming. */
hfpll_disable(sc, true);