Skip to contentSkip to conversation

Staging: comedi: fix block comments coding style issue in comedi.h

PATCH In review maomao xu 2 participants 2 messages Dec 22, 2015 Staging

lore
Share & tools
lore

maomao xu

author
#0 lore raw

PATCH 1/1 Staging: comedi: fix block comments coding style issue in comedi.h

Fix up block comments to make a trailing */ on a separate line

---
 drivers/staging/comedi/comedi.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/comedi/comedi.h +2 -1
index 66edda1..ec5e59c 100644
@@ -895,7 +895,8 @@ enum amplc_dio_ts_clock_src {
 };
 
 /* Values for setting a gate source with INSN_CONFIG_SET_GATE_SRC for
- * 8254 counter subdevices on Amplicon DIO boards (amplc_dio200 driver). */
+ * 8254 counter subdevices on Amplicon DIO boards (amplc_dio200 driver).
+ */
 enum amplc_dio_gate_source {
 	AMPLC_DIO_GAT_VCC,	/* internal high logic level */
 	AMPLC_DIO_GAT_GND,	/* internal low logic level */
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 13 lines · maomao xu

Fix up block comments to make a trailing */ on a separate line

---
  drivers/staging/comedi/comedi.h |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/comedi/comedi.h +0 -0
index 66edda1..ec5e59c 100644

drivers/staging/comedi/comedi.h enum amplc_dio_ts_clock_src { · line 902

Quoted 9 lines
drivers/staging/comedi/comedi.h +2 -1
@@ -895,7 +895,8 @@ enum amplc_dio_ts_clock_src {
  };
 
  /* Values for setting a gate source with INSN_CONFIG_SET_GATE_SRC for
- * 8254 counter subdevices on Amplicon DIO boards (amplc_dio200 driver). */
+ * 8254 counter subdevices on Amplicon DIO boards (amplc_dio200 driver).
+ */
  enum amplc_dio_gate_source {
  	AMPLC_DIO_GAT_VCC,	/* internal high logic level */
  	AMPLC_DIO_GAT_GND,	/* internal low logic level */

Sorry, this clashes with another patch in Greg's staging-next branch. Also, it doesn't use the preferred block comment style with the leading '/*' on a separate line.

Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]> )=-
-=(                          Web: http://www.mev.co.uk/  )=-