ARM: tegra Fix warnings in compiling pm.c
Philip Rakity [Thu, 5 Sep 2013 10:24:06 +0000 (11:24 +0100)]
remove unnecesssary typecast in pmc_read/write
remove typecast printk for phys_addr_t

Change-Id: I161ddb3f34ae5bb54845fb9bac507a125f5ebddb
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/270754
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 246be84a48c706e19e8bcb1c5c4127f89d8761e3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

arch/arm/mach-tegra/pm.c

index 8409bb2..512f072 100644 (file)
@@ -1723,7 +1723,7 @@ void __init tegra_init_suspend(struct tegra_suspend_platform_data *plat)
                orig = ioremap(tegra_lp0_vec_start, tegra_lp0_vec_size);
                WARN_ON(!orig);
                if (!orig) {
-                       pr_err("%s: Failed to map tegra_lp0_vec_start %08lx\n",
+                       pr_err("%s: Failed to map tegra_lp0_vec_start %08x\n",
                                __func__, tegra_lp0_vec_start);
                        kfree(reloc_lp0);
                        goto out;