Re: [patch 2/2] iommu/mediatek: checking for IS_ERR() instead of NULL

From: Joerg Roedel
Date: Wed Mar 02 2016 - 09:49:59 EST


On Wed, Mar 02, 2016 at 01:10:27PM +0300, Dan Carpenter wrote:
> 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@xxxxxxxxxx>

Applied, thanks.