diff mbox

Siano 10230 Core coding style fix

Message ID 533809.88070.qm@web110809.mail.gq1.yahoo.com (mailing list archive)
State Superseded
Headers show

Commit Message

Uri Shkolnik Jan. 13, 2009, 1:27 p.m. UTC
# HG changeset patch
# User Uri Shkolnik <uris@siano-ms.com>
# Date 1231850270 -7200
# Node ID 9a7e625c254bf24465b2663bdfbfd19bf192e4d8
# Parent  46b5358fa358cf6a0338918a1472728b2fdf2685
SMS Core coding style fix

From: Uri Shkolnik <uris@siano-ms.com>

Fix coding style issues

Priority: normal

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>




      
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -r 46b5358fa358 -r 9a7e625c254b linux/drivers/media/dvb/siano/smscoreapi.c
--- a/linux/drivers/media/dvb/siano/smscoreapi.c	Tue Jan 13 14:20:32 2009 +0200
+++ b/linux/drivers/media/dvb/siano/smscoreapi.c	Tue Jan 13 14:37:50 2009 +0200
@@ -1444,12 +1444,12 @@  int smscore_gpio_configure(struct smscor
 	rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen,
 			&coredev->gpio_configuration_done);
 
-	if (rc != 0)
+	if (rc != 0) {
 		if (rc == -ETIME)
 			sms_err("smscore_gpio_configure timeout");
 		else
 			sms_err("smscore_gpio_configure error");
-
+	}
 	kfree(buffer);
 
 	return rc;
@@ -1493,12 +1493,12 @@  int smscore_gpio_set_level(struct smscor
 	rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen,
 			&coredev->gpio_set_level_done);
 
-	if (rc != 0)
+	if (rc != 0) {
 		if (rc == -ETIME)
 			sms_err("smscore_gpio_set_level timeout");
 		else
 			sms_err("smscore_gpio_set_level error");
-
+	}
 	kfree(buffer);
 
 	return rc;
@@ -1541,12 +1541,12 @@  int smscore_gpio_get_level(struct smscor
 	rc = smscore_sendrequest_and_wait(coredev, pMsg, totalLen,
 			&coredev->gpio_get_level_done);
 
-	if (rc != 0)
+	if (rc != 0) {
 		if (rc == -ETIME)
 			sms_err("smscore_gpio_get_level timeout");
 		else
 			sms_err("smscore_gpio_get_level error");
-
+	}
 	kfree(buffer);
 
 	/* Its a race between other gpio_get_level() and the copy of the single