]> 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)
commit99f5f375821a7d165e7dcd1c00d170f29918ce59
tree67b8e1e70bb322a2353ea6e27b7edec75582ebf3
parent60d302d78dd3753e0c711c780b993f2a349a61ec
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