linux-stable/drivers/gpu/drm/mxsfb
Dan Carpenter e89e50ac35 drm: mxsfb: drm_dev_alloc() returns error pointers
We should be checking for IS_ERR() instead of NULL because
drm_dev_alloc() returns error pointers.

Fixes: 45d59d7040 ("drm: Add new driver for MXSFB controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213122332.GA7519@elgon.mountain
2016-12-13 22:24:20 +01:00
..
Kconfig
Makefile
mxsfb_crtc.c
mxsfb_drv.c drm: mxsfb: drm_dev_alloc() returns error pointers 2016-12-13 22:24:20 +01:00
mxsfb_drv.h
mxsfb_out.c
mxsfb_regs.h