]> git.baikalelectronics.ru Git - kernel.git/commit
parport: fix error handling
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 15 Jun 2015 14:35:49 +0000 (20:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:15:49 +0000 (21:15 -0700)
commitcb7497dbf79b110fd7ca532b9e6f0570ba1c46d0
tree67b8e1e70bb322a2353ea6e27b7edec75582ebf3
parent46958271124c28fd3f4ec6dde3071e436c717f22
parport: fix error handling

After registering the device if exclusive access fails for any reason
then we need to unregister the device to remove all references.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/share.c