[PATCH 3/5] staging:ft1000: replace and remove c99 comments.

Previous thread: [PATCH 2/5] staging:ft1000: lines over 80 characters corrected. by Marek Belisko on Thursday, October 14, 2010 - 2:40 am. (1 message)

Next thread: [PATCH 5/5] staging:ft1000: remove dead code. by Marek Belisko on Thursday, October 14, 2010 - 2:41 am. (1 message)
From: Marek Belisko
Date: Thursday, October 14, 2010 - 2:40 am

Comments for probe, disconnect, init and exit functions
removed completely (functions names are self explaining).

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
---
 drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |   67 +++--------------------
 1 files changed, 9 insertions(+), 58 deletions(-)

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
index fc817cb..c6aec27 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
@@ -1,11 +1,12 @@
-//=====================================================
-// CopyRight (C) 2007 Qualcomm Inc. All Rights Reserved.
-//
-//
-// This file is part of Express Card USB Driver
-//
-// $Id:
-//====================================================
+/*=====================================================
+ * CopyRight (C) 2007 Qualcomm Inc. All Rights Reserved.
+ *
+ *
+ * This file is part of Express Card USB Driver
+ *
+ * $Id:
+ *====================================================
+ */
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -54,20 +55,6 @@ int ft1000_poll_thread(void *arg)
 	return STATUS_SUCCESS;
 }
 
-
-
-//---------------------------------------------------------------------------
-// Function:    ft1000_probe
-//
-// Parameters:  struct usb_interface *interface  - passed by USB core
-//              struct usb_device_id *id         - passed by USB core
-// Returns:     0 - success
-//
-// Description: This function is invoked when the express card is plugged in
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
 static int ft1000_probe(struct usb_interface *interface,
 			const struct usb_device_id *id)
 {
@@ -219,18 +206,6 @@ err_fw:
 	return ret;
 }
 
-//---------------------------------------------------------------------------
-// Function:    ft1000_disconnect
-//
-// Parameters:  struct ...
Previous thread: [PATCH 2/5] staging:ft1000: lines over 80 characters corrected. by Marek Belisko on Thursday, October 14, 2010 - 2:40 am. (1 message)

Next thread: [PATCH 5/5] staging:ft1000: remove dead code. by Marek Belisko on Thursday, October 14, 2010 - 2:41 am. (1 message)