aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-12-12 11:28:47 +0200
committerLaurent Pinchart <[email protected]>2017-02-17 15:23:14 +0200
commit8f1597c8f1a58830b67a033309e4b141ee99e379 (patch)
tree8133b567bc95d4998da169a96783061e787e19d3 /scripts/gcc-plugins
parent9ca70356a9260403c1bda40d942935e55d00c11c (diff)
drm: shmobile: 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]> Acked-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions