aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-02-23 18:09:28 +0100
committerJani Nikula <[email protected]>2024-02-29 16:45:23 +0200
commit379b63e7e6824eeb74983ffdbab188178b2d55f5 (patch)
tree28dcc1cdeacdcca6d976a61852c139ae7a1e2bf9 /tools/perf/scripts/python/stackcollapse.py
parenta1789b3f5dd5f5e9e4ab8f3b28f0802622a02d2d (diff)
drm/i915/display: Save a few bytes of memory in intel_backlight_device_register()
'name' may still be "intel_backlight" when backlight_device_register() is called. In such a case, using kstrdup_const() saves a memory duplication when dev_set_name() is called in backlight_device_register(). Use kfree_const() accordingly. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/ecfdb3af5005e05131e2fb93fd870830f39a8c29.1708708142.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions