summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-12-12 12:28:47 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-12-19 12:33:45 +0300
commit2f95bc6d324a93b2411bcc5defe4d4414c45f325 (patch)
tree5352c7a2af0b5a2b276179c2ffee89e19dfe98b4 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parente57e17cc40d3297fbb279c6c0e9613bdc81ef893 (diff)
downloadlinux-2f95bc6d324a93b2411bcc5defe4d4414c45f325.tar.xz
drm: omapdrm: Perform initialization/cleanup at probe/remove time
The drm driver .load() operation is prone to race conditions as it initializes the driver after registering the device nodes. Its usage is deprecated, inline it in the probe function and call drm_dev_alloc() and drm_dev_register() explicitly. For consistency inline the .unload() handler in the remove function as well. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions