Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220318
b: refs/heads/master
c: 3d97ca7
h: refs/heads/master
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Oct 14, 2010
1 parent 4122ea6 commit d4cb7d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 59 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6f2c47b16845ce7e65f13aa14983a6505975173
refs/heads/master: 3d97ca7f3672732ac8ffe567a33873303d2c6741
67 changes: 9 additions & 58 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -219,18 +206,6 @@ static int ft1000_probe(struct usb_interface *interface,
return ret;
}

//---------------------------------------------------------------------------
// Function: ft1000_disconnect
//
// Parameters: struct usb_interface *interface - passed by USB core
//
// Returns: 0 - success
//
// Description: This function is invoked when the express card is plugged out
//
// Notes:
//
//---------------------------------------------------------------------------
static void ft1000_disconnect(struct usb_interface *interface)
{
FT1000_INFO *pft1000info;
Expand Down Expand Up @@ -277,18 +252,6 @@ static struct usb_driver ft1000_usb_driver = {
.id_table = id_table,
};

//---------------------------------------------------------------------------
// Function: usb_ft1000_init
//
// Parameters: none
//
// Returns: 0 - success
//
// Description: The entry point of the module, register the usb driver
//
// Notes:
//
//---------------------------------------------------------------------------
static int __init usb_ft1000_init(void)
{
int ret = 0;
Expand All @@ -302,18 +265,6 @@ static int __init usb_ft1000_init(void)
return ret;
}

//---------------------------------------------------------------------------
// Function: usb_ft1000_exit
//
// Parameters:
//
// Returns:
//
// Description: Moudle unload function, deregister usb driver
//
// Notes:
//
//---------------------------------------------------------------------------
static void __exit usb_ft1000_exit(void)
{
DEBUG("Deregister the driver\n");
Expand Down

0 comments on commit d4cb7d1

Please sign in to comment.