Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: kobil_sct.h: checkpatch cleanups

Minor whitespace cleanups to make checkpatch happy.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+45 -28
+45 -28
drivers/usb/serial/kobil_sct.h
··· 23 23 #define SUSBCR_SSL_SETDTR 0x0004 24 24 #define SUSBCR_SSL_CLRDTR 0x0010 25 25 26 - #define SUSBCR_SSL_PURGE_TXABORT 0x0100 // Kill the pending/current writes to the comm port. 27 - #define SUSBCR_SSL_PURGE_RXABORT 0x0200 // Kill the pending/current reads to the comm port. 28 - #define SUSBCR_SSL_PURGE_TXCLEAR 0x0400 // Kill the transmit queue if there. 29 - #define SUSBCR_SSL_PURGE_RXCLEAR 0x0800 // Kill the typeahead buffer if there. 26 + /* Kill the pending/current writes to the comm port. */ 27 + #define SUSBCR_SSL_PURGE_TXABORT 0x0100 28 + /* Kill the pending/current reads to the comm port. */ 29 + #define SUSBCR_SSL_PURGE_RXABORT 0x0200 30 + /* Kill the transmit queue if there. */ 31 + #define SUSBCR_SSL_PURGE_TXCLEAR 0x0400 32 + /* Kill the typeahead buffer if there. */ 33 + #define SUSBCR_SSL_PURGE_RXCLEAR 0x0800 30 34 31 35 #define SUSBCRequest_GetStatusLineState 4 32 - #define SUSBCR_GSL_RXCHAR 0x0001 // Any Character received 33 - #define SUSBCR_GSL_TXEMPTY 0x0004 // Transmitt Queue Empty 34 - #define SUSBCR_GSL_CTS 0x0008 // CTS changed state 35 - #define SUSBCR_GSL_DSR 0x0010 // DSR changed state 36 - #define SUSBCR_GSL_RLSD 0x0020 // RLSD changed state 37 - #define SUSBCR_GSL_BREAK 0x0040 // BREAK received 38 - #define SUSBCR_GSL_ERR 0x0080 // Line status error occurred 39 - #define SUSBCR_GSL_RING 0x0100 // Ring signal detected 36 + /* Any Character received */ 37 + #define SUSBCR_GSL_RXCHAR 0x0001 38 + /* Transmitt Queue Empty */ 39 + #define SUSBCR_GSL_TXEMPTY 0x0004 40 + /* CTS changed state */ 41 + #define SUSBCR_GSL_CTS 0x0008 42 + /* DSR changed state */ 43 + #define SUSBCR_GSL_DSR 0x0010 44 + /* RLSD changed state */ 45 + #define SUSBCR_GSL_RLSD 0x0020 46 + /* BREAK received */ 47 + #define SUSBCR_GSL_BREAK 0x0040 48 + /* Line status error occurred */ 49 + #define SUSBCR_GSL_ERR 0x0080 50 + /* Ring signal detected */ 51 + #define SUSBCR_GSL_RING 0x0100 40 52 41 53 #define SUSBCRequest_Misc 8 42 - #define SUSBCR_MSC_ResetReader 0x0001 // use a predefined reset sequence 43 - #define SUSBCR_MSC_ResetAllQueues 0x0002 // use a predefined sequence to reset the internal queues 54 + /* use a predefined reset sequence */ 55 + #define SUSBCR_MSC_ResetReader 0x0001 56 + /* use a predefined sequence to reset the internal queues */ 57 + #define SUSBCR_MSC_ResetAllQueues 0x0002 44 58 45 59 #define SUSBCRequest_GetMisc 0x10 46 - #define SUSBCR_MSC_GetFWVersion 0x0001 /* get the firmware version from device, 47 - coded like this 0xHHLLBBPP 48 - with HH = Firmware Version High Byte 49 - LL = Firmware Version Low Byte 50 - BB = Build Number 51 - PP = Further Attributes 52 - */ 53 60 54 - #define SUSBCR_MSC_GetHWVersion 0x0002 /* get the hardware version from device 55 - coded like this 0xHHLLPPRR 56 - with HH = Software Version High Byte 57 - LL = Software Version Low Byte 58 - PP = Further Attributes 59 - RR = Reserved for the hardware ID 60 - */ 61 + /* 62 + * get the firmware version from device, coded like this 0xHHLLBBPP with 63 + * HH = Firmware Version High Byte 64 + * LL = Firmware Version Low Byte 65 + * BB = Build Number 66 + * PP = Further Attributes 67 + */ 68 + #define SUSBCR_MSC_GetFWVersion 0x0001 69 + 70 + /* 71 + * get the hardware version from device coded like this 0xHHLLPPRR with 72 + * HH = Software Version High Byte 73 + * LL = Software Version Low Byte 74 + * PP = Further Attributes 75 + * RR = Reserved for the hardware ID 76 + */ 77 + #define SUSBCR_MSC_GetHWVersion 0x0002