summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-11-08 19:53:59 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 14:36:58 -0800
commit50bf14b3ff05fb6e10688021b96f95d30a300f8d (patch)
tree0f1ffcaf0180746959ed0dee88c6153bb8ed4744 /drivers/hwmon
parent0dcb2b7e722f62b886f28b01150860de67d219fa (diff)
downloadlinux-stable-50bf14b3ff05fb6e10688021b96f95d30a300f8d.tar.gz
linux-stable-50bf14b3ff05fb6e10688021b96f95d30a300f8d.tar.bz2
linux-stable-50bf14b3ff05fb6e10688021b96f95d30a300f8d.zip
pci: fix __pci_register_driver error handling
__pci_register_driver() error path forgot to unwind. driver_unregister() needs to be called when pci_create_newid_file() failed. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions