diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-09-28 18:39:53 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2016-02-20 02:58:50 +0200 |
commit | c1d4b38c93069dca6b419a3b88907e01e2c3abf7 (patch) | |
tree | a352944cf1a9d8553bc9ddbd335ac0981ced061f /drivers/gpu/drm/rcar-du/rcar_du_kms.c | |
parent | 4c4400504f6ada0cfed682fbe7e6c65efbda3952 (diff) | |
download | op-kernel-dev-c1d4b38c93069dca6b419a3b88907e01e2c3abf7.zip op-kernel-dev-c1d4b38c93069dca6b419a3b88907e01e2c3abf7.tar.gz |
drm: rcar-du: 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+renesas@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_kms.c')
0 files changed, 0 insertions, 0 deletions