summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-07-08 14:27:19 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-24 10:51:31 +0300
commit80ddce5f2dbd0e83eadc9f9d373439180d599fe5 (patch)
treee9106faf90446ba9c475579e7a1bfc2d7d29ea4b /scripts/gdb/linux/utils.py
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlinux-80ddce5f2dbd0e83eadc9f9d373439180d599fe5.tar.xz
thermal: core: constify params in thermal_zone_device_register
Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone parameters structure"), thermal_zone_device_register() allocates a copy of the tzp argument and callers need not explicitly manage its lifetime. This means the function no longer cares about the parameter being mutable, so constify it. No functional change. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions