summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/hwmon.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-06-24 14:47:29 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:16:43 -0700
commite04199b2167e88f0e2d0410fafaa2c35ff7ba8c1 (patch)
treed09cdcd85bfa3ead3d63cf6e1c1b6454fc4ee7f0 /drivers/hwmon/hwmon.c
parentd64aac36394b3c26db53538bfedd8444a3a2206e (diff)
downloadop-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/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud