Skip to content

Commit

Permalink
staging: ft1000: Fix camelcase function names.
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent 8c3d909 commit dab56ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/ft1000/ft1000-usb/ft1000_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static struct notifier_block ft1000_netdev_notifier = {
};


int ft1000InitProc(struct net_device *dev)
int ft1000_init_proc(struct net_device *dev)
{
struct ft1000_info *info;
struct proc_dir_entry *ft1000_proc_file;
Expand Down Expand Up @@ -243,7 +243,7 @@ int ft1000InitProc(struct net_device *dev)
return ret;
}

void ft1000CleanupProc(struct ft1000_info *info)
void ft1000_cleanup_proc(struct ft1000_info *info)
{
remove_proc_entry(info->netdevname, info->ft1000_proc_dir);
remove_proc_entry(FT1000_PROC_DIR, FTNET_PROC);
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static int ft1000_probe(struct usb_interface *interface,
if (ret)
goto err_thread;

ret = ft1000InitProc(ft1000dev->net);
ret = ft1000_init_proc(ft1000dev->net);
if (ret)
goto err_proc;

Expand Down Expand Up @@ -228,7 +228,7 @@ static void ft1000_disconnect(struct usb_interface *interface)
DEBUG("In disconnect pft1000info=%p\n", pft1000info);

if (pft1000info) {
ft1000CleanupProc(pft1000info);
ft1000_cleanup_proc(pft1000info);
if (pft1000info->pPollThread)
kthread_stop(pft1000info->pPollThread);

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,8 @@ struct usb_interface;
int reg_ft1000_netdev(struct ft1000_device *ft1000dev, struct usb_interface *intf);
int ft1000_poll(void* dev_id);

int ft1000InitProc(struct net_device *dev);
void ft1000CleanupProc(struct ft1000_info *info);
int ft1000_init_proc(struct net_device *dev);
void ft1000_cleanup_proc(struct ft1000_info *info);



Expand Down

0 comments on commit dab56ff

Please sign in to comment.