Staging: comedi: Fixed brace coding style issue
PATCH 1/1 Staging: comedi: Fixed brace coding style issue
Fixed coding style error raised by scripts/checkpatch.pl on comedi.h. This file no longer throws an error.
Signed-off-by Ken O'Brien <[email protected]>
--- drivers/staging/comedi/comedi.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/staging/comedi/comedi.h +3 -1
@@ -514,7 +514,9 @@return 0x1 + pfi_channel; else return 0xb + pfi_channel; - }static inline unsigned NI_USUAL_RTSI_SELECT (unsigned rtsi_channel) { + } +static inline unsigned NI_USUAL_RTSI_SELECT (unsigned rtsi_channel) + {if (rtsi_channel <7 )return 0xb + rtsi_channel;else
Signature · 1 line
1.7.4.1
Quoted 4 lines · Ken O'Brien
Fixed coding style error raised by
scripts/checkpatch.ploncomedi.h. This file no longer throws an error.Signed-off-by Ken O'Brien <[email protected]>
Sorry, this doesn't apply to the tree anymore :(