msm7630_surf: Use #if instead of #ifdef

ifdef looks whether macro is defined or not & does not care about
true or false value. So use #if to to evaluate the expression &
then take action, that is what we desire to do.

Change-Id: I1d8d9d46c46d21fd4c77535ec5d55144e40df78a
diff --git a/dev/ssbi/ssbi.c b/dev/ssbi/ssbi.c
index 09ca4c6..5d16935 100644
--- a/dev/ssbi/ssbi.c
+++ b/dev/ssbi/ssbi.c
@@ -79,7 +79,7 @@
 	/*
 	 * Use remote spin locks since SSBI2 controller is shared with nonHLOS proc
 	 */
-#ifdef TARGET_USES_RSPIN_LOCK
+#if TARGET_USES_RSPIN_LOCK
 	remote_spin_lock(rlock);
 #endif
 	read_cmd = SSBI_CMD_READ(addr);
@@ -109,7 +109,7 @@
 		len--;
 	}
 end:
-#ifdef TARGET_USES_RSPIN_LOCK
+#if TARGET_USES_RSPIN_LOCK
 	remote_spin_unlock(rlock);
 #endif
 	return ret;
@@ -128,7 +128,7 @@
 	/*
 	 * Use remote spin locks since SSBI2 controller is shared with nonHLOS proc
 	 */
-#ifdef TARGET_USES_RSPIN_LOCK
+#if TARGET_USES_RSPIN_LOCK
 	remote_spin_lock(rlock);
 #endif
 	mode2 = readl(MSM_SSBI_BASE + SSBI2_MODE2);
@@ -156,10 +156,10 @@
 		len--;
 	}
 end:
-#ifdef TARGET_USES_RSPIN_LOCK
+#if TARGET_USES_RSPIN_LOCK
 	remote_spin_unlock(rlock);
 #endif
-	return 0;
+	return ret;
 }
 
 int pa1_ssbi2_read_bytes(unsigned char  *buffer, unsigned short length,