[OPW,kernel,OPW,4/5] staging: ft1000: change write_block_fifo() header to /* */ style in ft1000_download.c
diff mbox

Message ID d9d69dbc2799912a07f9f04b7c1f2aaab7bfa33b.1381870119.git.kelleynnn@gmail.com
State Accepted
Headers show

Commit Message

Kelley Nielsen Oct. 15, 2013, 9:06 p.m. UTC
As per coding style, C99 comments are not allowed
removed some redundant information and empty space
Left the parameter descriptions because the
parameter list is long and cryptic looking

Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
---
 .../staging/ft1000/ft1000-usb/ft1000_download.c    | 23 ++++++----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

Patch
diff mbox

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
index 11736bc..3345a0f 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
@@ -517,23 +517,12 @@  static void usb_dnld_complete (struct urb *urb)
     //DEBUG("****** usb_dnld_complete\n");
 }
 
-//---------------------------------------------------------------------------
-// Function:    write_blk_fifo
-//
-// Parameters:  struct ft1000_usb  - device structure
-//              u16 **pUsFile - DSP image file pointer in u16
-//              u8  **pUcFile - DSP image file pointer in u8
-//              long   word_length - length of the buffer to be written
-//                                   to DPRAM
-//
-// Returns:     STATUS_SUCCESS - success
-//              STATUS_FAILURE - failure
-//
-// Description: This function writes a block of DSP image to DPRAM
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
+/* writes a block of DSP image to DPRAM
+* Parameters:  struct ft1000_usb  - device structure
+*              u16 **pUsFile - DSP image file pointer in u16
+*              u8  **pUcFile - DSP image file pointer in u8
+*              long word_length - length of the buffer to be written to DPRAM
+*/
 static u32 write_blk_fifo(struct ft1000_usb *ft1000dev, u16 **pUsFile,
 			  u8 **pUcFile, long word_length)
 {