aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2018-02-12 11:44:36 +0200
committerTomi Valkeinen <[email protected]>2018-09-03 16:13:25 +0300
commitfb96b67c8ae0c91e17f0f9fe88cfce406ace6a94 (patch)
treeac73962624c4135d6bbe1b4ca842ba0322020fb4 /tools/perf/scripts/python/bin
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
drm/omap: Allocate drm_device earlier and unref it as last step
If we allocate the drm_device earlier we can just return the error code without the need to use goto. Do the unref of the drm_device as a last step when cleaning up. This will make the drm_device available longer for us and makes sure that we only free up the memory when all other cleanups have been already done. Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions