[PATCH] USB: make registering a usb driver automatically set the module owner
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Nov 2005 22:53:03 +0000 (14:53 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:48:32 +0000 (13:48 -0800)
commit2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8
tree523c2d57e412766bfc37b9ff6c22ff01108c92a5
parentba9dc657af86d05d2971633e57d1f6f94ed60472
[PATCH] USB: make registering a usb driver automatically set the module owner

This fixes the driver that forgot to set the module owner up.  Now we
can remove the unneeded pointer from the usb driver structure.  The idea
for how to do this was from Al Viro, who did this for the PCI drivers.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c
include/linux/usb.h