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

Joerg Roedel joro at 8bytes.org
Wed Mar 2 06:49:52 PST 2016


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 at oracle.com>

Applied, thanks.




More information about the Linux-mediatek mailing list