diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-08-03 15:35:39 -0700 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-08-09 20:25:39 +0530 |
| commit | 98a39710fc8d9c70fcf9bacbb0cc802b0c1a0bbe (patch) | |
| tree | eee6eead8df72e54e7e31343cf2b820c6021c01a /tools/perf/scripts/python/flamegraph.py | |
| parent | 9c4d539d112fb32355a403513023f08bd17360bc (diff) | |
gpio: ppc44x: use dev_name() for chip label
Replace devm_kasprintf() with dev_name() for the chip label. dev_name()
returns a stable pointer to the device name, so the separate allocation
and -ENOMEM check can be dropped.
Using dev_name() seems to be common for GPIO labels.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260803223539.86303-9-rosenp@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
