summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-03-02 13:10:27 +0300
committerJoerg Roedel <jroedel@suse.de>2016-03-02 15:49:21 +0100
commit3189e4905c2d08d6618d79af2c486f530bbfb3b4 (patch)
treeacf8cca54769ccff453bbce6494b07520b9fecf6 /net/compat.c
parent0b6c0ad3cfe6bc914af3ae595c9729e38f11a024 (diff)
downloadlinux-3189e4905c2d08d6618d79af2c486f530bbfb3b4.tar.gz
linux-3189e4905c2d08d6618d79af2c486f530bbfb3b4.tar.bz2
linux-3189e4905c2d08d6618d79af2c486f530bbfb3b4.zip
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions