Commits
Laurent Pinchart committed 824d02afb86
drm: omapdrm: Perform initialization/cleanup at probe/remove time commit 2f95bc6d324a93b2411bcc5defe4d4414c45f325 upstream. 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>