iommu/omap: Return ERR_PTR in device_group call-back
authorJoerg Roedel <jroedel@suse.de>
Wed, 28 Jun 2017 10:50:16 +0000 (12:50 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 28 Jun 2017 11:29:45 +0000 (13:29 +0200)
commit8faf5e5a12c511410de1590cf310ec331c5ec7b1
tree03839038ed2724ab027ddeea1d741376cff283fb
parent7f7a2304aabc4a8102bbbbeed2ec9eaee4a480c2
iommu/omap: Return ERR_PTR in device_group call-back

Make sure that the device_group callback returns an ERR_PTR
instead of NULL.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c