Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19223
b: refs/heads/master
c: 595b14c
h: refs/heads/master
i:
  19221: e9a1690
  19219: 6a6e7a9
  19215: f992de3
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Feb 1, 2006
1 parent 7e8ce59 commit 187e491
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 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: 630aa3cfd5f0bae9547fe7dff175d7323d60140d
refs/heads/master: 595b14cbccb2f9122bccfa6b55f2d9a380e9adeb
3 changes: 0 additions & 3 deletions trunk/drivers/usb/input/hiddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <linux/usb.h>
#include "hid.h"
#include <linux/hiddev.h>
#include <linux/devfs_fs_kernel.h>

#ifdef CONFIG_USB_DYNAMIC_MINORS
#define HIDDEV_MINOR_BASE 0
Expand Down Expand Up @@ -832,12 +831,10 @@ static /* const */ struct usb_driver hiddev_driver = {

int __init hiddev_init(void)
{
devfs_mk_dir("usb/hid");
return usb_register(&hiddev_driver);
}

void hiddev_exit(void)
{
usb_deregister(&hiddev_driver);
devfs_remove("usb/hid");
}
2 changes: 1 addition & 1 deletion trunk/drivers/usb/misc/ldusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ static struct file_operations ld_usb_fops = {

/*
* usb class driver info in order to get a minor number from the usb core,
* and to have the device registered with devfs and the driver core
* and to have the device registered with the driver core
*/
static struct usb_class_driver ld_usb_class = {
.name = "ldusb%d",
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/usb-skeleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static struct file_operations skel_fops = {

/*
* usb class driver info in order to get a minor number from the usb core,
* and to have the device registered with devfs and the driver core
* and to have the device registered with the driver core
*/
static struct usb_class_driver skel_class = {
.name = "skel%d",
Expand Down

0 comments on commit 187e491

Please sign in to comment.