diff options
| author | Janusz Krzysztofik <[email protected]> | 2019-07-12 13:24:28 +0200 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-07-12 13:05:05 +0100 |
| commit | 3b58a94551368924d8a49baa349bc7694fbd7ddd (patch) | |
| tree | c002ffab0127f687ccd66c760d44d4dddb0f896c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f2db53f14d3d1cde1d4c3b5b5aaba556c953f2f5 (diff) | |
drm/i915: Propagate "_release" function name suffix down
Replace mixed "_fini"/"_cleanup"/"_cleanup_hw" suffixes found in names
of functions called from i915_driver_release() with "_release" suffix
consistently. This provides better code readability, especially
helpful when trying to work out which phase the code is in.
Functions names starting with "i915_driver_", i.e., those defined in
drivers/gpu/dri/i915/i915_drv.c, just have their "cleanup" or "fini"
parts of their names replaced with the "_release" suffix, while names
of functions coming from other source files have been suffixed with
"_driver_release" to avoid ambiguity with other possible .release entry
points.
v2: early_probe pairs better with late_release (Chris)
v3: fix typo in commit message (Joonas)
Suggested-by: Chris Wilson <[email protected]>
Signed-off-by: Janusz Krzysztofik <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions