Merge tag 'nfs-for-3.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[pandora-kernel.git] / drivers / watchdog / sp5100_tco.c
index 59108e4..ae5e82c 100644 (file)
@@ -313,7 +313,7 @@ static unsigned char __devinit sp5100_tco_setupdevice(void)
        tcobase_phys = val;
 
        tcobase = ioremap(val, SP5100_WDT_MEM_MAP_SIZE);
-       if (tcobase == 0) {
+       if (!tcobase) {
                pr_err("failed to get tcobase address\n");
                goto unreg_mem_region;
        }