Revert "ARM: OMAP: Catch callers of revision information prior to it being populated"
authorTony Lindgren <tony@atomide.com>
Tue, 19 Apr 2016 15:01:05 +0000 (08:01 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 19 Apr 2016 15:01:05 +0000 (08:01 -0700)
This reverts commit 571afb4c8a4bbe88541364e7f6827340562f2736.

arch/arm/mach-omap1/id.c
arch/arm/mach-omap2/id.c

index bfabc065d331e3e0586020a22b7830d8345be318..52de382fc8047148f272dd57d7dd01354ec33801 100644 (file)
@@ -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);
index 75fb6c006e865b1501db71d64da883b5db2a7d42..d85c24918c177d176fd191aa1ebcfaff5ce90f74 100644 (file)
@@ -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);