]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fix wrong return check for platform_device_register_simple
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 22 Apr 2013 08:13:13 +0000 (17:13 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 29 Apr 2013 05:35:32 +0000 (14:35 +0900)
commit524e54f690c0fad005d428eabc2b509bc5aa8e68
tree7abb5f6e2a9976512dcb27222d4ebc06ccdb1495
parent4b9219f038b6b7081d5003678d6e193294c34e3d
drm/exynos: fix wrong return check for platform_device_register_simple

platform_device_register_simple() never returns NULL, but IS_ERR_OR_NULL macro
is used for checking return value in exynos drm driver.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.c