Dan Carpenter 3189e4905c iommu/mediatek: Check for NULL instead of IS_ERR()
of_platform_device_create() returns NULL on error, it never returns
error pointers.

Fixes: 0df4fabe208d ('iommu/mediatek: Add mt8173 IOMMU driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2016-03-02 15:49:21 +01:00
..
2015-11-05 16:12:10 -08:00
2015-06-23 18:27:19 -07:00
2016-02-16 08:04:06 -08:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2015-12-15 12:54:06 -08:00
2015-07-28 15:48:01 +01:00
2015-11-26 14:41:01 +01:00