staging: fsl-mc: dprc: fix ordering problem freeing resources in remove of dprc
authorStuart Yoder <stuart.yoder@nxp.com>
Wed, 22 Jun 2016 21:40:50 +0000 (16:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2016 00:14:03 +0000 (17:14 -0700)
commita137fc805838a444fa934bfd918eba30396f933c
tree83d4eb7a3d36fc64343949ae5ab37dd7beb65f18
parentae34934f9c8c504df6c0b412352e2850dcba495e
staging: fsl-mc: dprc: fix ordering problem freeing resources in remove of dprc

When unbinding a dprc from the dprc driver the cleanup of
the resource pools must happen after irq pool cleanup
is done.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c