diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-06-24 14:47:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 15:16:43 -0700 |
commit | e04199b2167e88f0e2d0410fafaa2c35ff7ba8c1 (patch) | |
tree | d09cdcd85bfa3ead3d63cf6e1c1b6454fc4ee7f0 /drivers/w1/w1_family.h | |
parent | d64aac36394b3c26db53538bfedd8444a3a2206e (diff) | |
download | op-kernel-dev-e04199b2167e88f0e2d0410fafaa2c35ff7ba8c1.zip op-kernel-dev-e04199b2167e88f0e2d0410fafaa2c35ff7ba8c1.tar.gz |
usbfs: don't store bad pointers in registration
This patch (as1107) fixes a small bug in the usbfs registration and
unregistration code. It avoids leaving an error value stored in the
device's usb_classdev field and it avoids trying to unregister a NULL
pointer. (It also fixes a rather extreme overuse of whitespace.)
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_family.h')
0 files changed, 0 insertions, 0 deletions