drm/tegra: checking for IS_ERR() instead of NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Aug 2015 14:37:03 +0000 (17:37 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 14 Dec 2015 13:37:25 +0000 (14:37 +0100)
commitdb8b42fbfc6f778fa22201f24e53fc4250b52e4c
tree3f36e373b0d1263d69a1391ded86e249459622f5
parentcf6b17445dbf6c287fc389c9a9cb2276984b6a5f
drm/tegra: checking for IS_ERR() instead of NULL

The tegra_sor_hdmi_find_settings() function returns NULL on error and
not an ERR_PTR.

Fixes: 459cc2c6800b ('drm/tegra: sor: Add HDMI support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c