mtip32xx: Remove dfs_parent after pci unregister
authorAsai Thambi S P <asamymuthupa@micron.com>
Thu, 17 Apr 2014 03:30:16 +0000 (20:30 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 23 Apr 2014 01:48:51 +0000 (19:48 -0600)
In module exit, dfs_parent and it's subtree were removed before
unregistering with pci. When debugfs entry for each device is attempted
to remove in pci_remove() context, they don't exist, as dfs_parent and
its children were already ripped apart.

Modified to first unregister with pci and then remove dfs_parent.

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c

Simple merge