diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-11-26 18:19:00 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-01-12 02:52:31 +0100 |
| commit | 2c7e46e1318d4fbf514f454d5a746a1b76d06ebe (patch) | |
| tree | 9c08d209df47bf0fd8e5dbe49a07fdb7fa6bb2fb /tools/perf/scripts/python/task-analyzer.py | |
| parent | 688364a11647dc09ba1e4429313e0008066ec790 (diff) | |
| download | linux-2c7e46e1318d4fbf514f454d5a746a1b76d06ebe.tar.gz linux-2c7e46e1318d4fbf514f454d5a746a1b76d06ebe.zip | |
power: supply: sysfs: Constify pointer passed to dev_attr_psp()
Memory pointer by pointer passed to dev_attr_psp() is not modified, so
with help of container_of_const() (preferred than container_of()) can be
made pointer to const for code safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251126171859.72465-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
