[PATCH] Siano 10230 Core coding style fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# HG changeset patch
# User Uri Shkolnik <uris@xxxxxxxxxxxx>
# Date 1231850270 -7200
# Node ID 9a7e625c254bf24465b2663bdfbfd19bf192e4d8
# Parent  46b5358fa358cf6a0338918a1472728b2fdf2685
SMS Core coding style fix

From: Uri Shkolnik <uris@xxxxxxxxxxxx>

Fix coding style issues

Priority: normal

Signed-off-by: Uri Shkolnik <uris@xxxxxxxxxxxx>

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



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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux