summaryrefslogtreecommitdiff
path: root/drivers/parisc
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-04-04 22:44:47 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-04-09 05:16:34 +0300
commit59c209a689a66190e6eba7286e9be18ddb3df85b (patch)
tree4dbc9006b3e952155587cad0bdcbdd168c693ab8 /drivers/parisc
parentc794d24ec9eb6658909955772e70f34bef5b5b91 (diff)
downloadlinux-59c209a689a66190e6eba7286e9be18ddb3df85b.tar.xz
scsi: qla2xxx: Unregister resources in the opposite order of the registration order
Make sure that resources are only unregistered after the users of these resources have been unregistered. Only unregister the character device if registration of it succeeded. Cc: Himanshu Madhani <hmadhani@marvell.com> Cc: Giridhar Malavali <gmalavali@marvell.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions