summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2016-04-19 08:01:05 -0700
committerTony Lindgren <tony@atomide.com>2016-04-19 08:01:05 -0700
commit3d51ae172d759198b2e47e104c31a92d20d17927 (patch)
tree59de34fc932a500f351ad13efd49202723386785 /arch
parent571afb4c8a4bbe88541364e7f6827340562f2736 (diff)
downloadlinux-3d51ae172d759198b2e47e104c31a92d20d17927.tar.gz
linux-3d51ae172d759198b2e47e104c31a92d20d17927.tar.bz2
linux-3d51ae172d759198b2e47e104c31a92d20d17927.zip
Revert "ARM: OMAP: Catch callers of revision information prior to it being populated"
This reverts commit 571afb4c8a4bbe88541364e7f6827340562f2736.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap1/id.c1
-rw-r--r--arch/arm/mach-omap2/id.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/id.c b/arch/arm/mach-omap1/id.c
index bfabc065d331..52de382fc804 100644
--- a/arch/arm/mach-omap1/id.c
+++ b/arch/arm/mach-omap1/id.c
@@ -65,7 +65,6 @@ static struct omap_id omap_ids[] __initdata = {
unsigned int omap_rev(void)
{
- WARN_ON_ONCE(!omap_revision || omap_revision == -1);
return omap_revision;
}
EXPORT_SYMBOL(omap_rev);
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 75fb6c006e86..d85c24918c17 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -46,7 +46,6 @@ u32 omap_features;
unsigned int omap_rev(void)
{
- WARN_ON_ONCE(!omap_revision || omap_revision == -1);
return omap_revision;
}
EXPORT_SYMBOL(omap_rev);