aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-12-12 11:28:47 +0200
committerLaurent Pinchart <[email protected]>2017-02-17 15:25:59 +0200
commit896bbc3ef1b065688163ce6c09c31e55fb4cd9f5 (patch)
tree3304d2c6587ae3d5451f25191ddf7daba3d4f546 /scripts/gcc-plugins/sancov_plugin.c
parent8f1597c8f1a58830b67a033309e4b141ee99e379 (diff)
drm: exynos: 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 <[email protected]> Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Acked-by: Inki Dae <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions