[PATCH v2 2/4] staging: pi433: Change Comments

Rishabh Hardas rishabhhardas at gmail.com
Wed Aug 16 05:23:19 UTC 2017


Shorten long comments and format them in kernel style comments.

Signed-off-by: Rishabh Hardas <rishabhhardas at gmail.com>
---
 drivers/staging/pi433/pi433_if.h | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h
index 91e4a01..84032f3 100644
--- a/drivers/staging/pi433/pi433_if.h
+++ b/drivers/staging/pi433/pi433_if.h
@@ -126,9 +126,18 @@ struct pi433_rx_cfg {

 	/* packet format */
 	enum optionOnOff	enable_sync;
-	enum optionOnOff	enable_length_byte;	  /* should be used in combination with sync, only */
-	enum addressFiltering	enable_address_filtering; /* operational with sync, only */
-	enum optionOnOff	enable_crc;		  /* only operational, if sync on and fixed length or length byte is used */
+	enum optionOnOff	enable_length_byte;	  /* should be used in
+							   * combination with
+							   * sync, only
+							   */
+	enum addressFiltering	enable_address_filtering; /* operational
+							   * with sync, only
+							   */
+	enum optionOnOff	enable_crc;		  /* only operational,
+							   *if sync on and fixed
+							   * length or length
+							   * byte is used
+							   */

 	__u8			sync_length;
 	__u8			fixed_message_length;
--
1.9.1



More information about the devel mailing list