cxl: Destroy afu->contexts_idr on release of an afu
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 9 Jul 2015 07:39:42 +0000 (09:39 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2015 04:15:07 +0000 (14:15 +1000)
commitbd664f892e3e2b01c79197cad3111d54b7aedf39
tree7e978b29c0ffac148696e69df8db7a3b4b4d86ca
parentb2a02ac65e40fb3900d176828a407b44bb33f9f4
cxl: Destroy afu->contexts_idr on release of an afu

Destroy afu->contexts_idr on release of an afu, reclaiming the allocated
memory.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c