]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: remove warnings timer.c and cpu_timer_arch.c
authorPhilip Rakity <prakity@nvidia.com>
Thu, 5 Sep 2013 11:29:52 +0000 (12:29 +0100)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:36 +0000 (19:17 +0530)
remove readl and writel from cpu_timer_arch (not used)

readl and writel code is in timer.h -- use it
remove unused variable

Change-Id: I2286b66c356ebb7970d00921c852f63a0d014528
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/270782
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 374c02ad51a822c7997e03b3b6c640ea660b4b65)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
arch/arm/mach-tegra/cpu_timer_arch.c
arch/arm/mach-tegra/timer.c

index bb027ea2b126f009af9173ba5ed52d61285cb931..16d12ab76252b4c5d18e82b75837c123f9515271 100644 (file)
 
 static u32 arch_timer_us_mult, arch_timer_us_shift;
 
-#define timer_writel(value, reg) \
-       __raw_writel(value, timer_reg_base + (reg))
-#define timer_readl(reg) \
-       __raw_readl(timer_reg_base + (reg))
-
 bool arch_timer_initialized;
 static struct delay_timer arch_delay_timer;
 
index a777b40268abe25202b64a99228249839a6a7729..93e93f530b5d24159ce92a209d0b91d891e79314 100644 (file)
@@ -59,11 +59,6 @@ static u32 system_timer = (TEGRA_TMR3_BASE - TEGRA_TMR1_BASE);
 static u32 system_timer = 0;
 #endif
 
-#define timer_writel(value, reg) \
-       __raw_writel(value, timer_reg_base + (reg))
-#define timer_readl(reg) \
-       __raw_readl(timer_reg_base + (reg))
-
 #if !defined(CONFIG_ARM_ARCH_TIMER) && !defined(CONFIG_HAVE_ARM_TWD)
 #ifndef CONFIG_ARCH_TEGRA_2x_SOC