diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-06 14:43:32 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-15 18:08:37 +0200 |
| commit | d4232e1c796c0b3de0dc3f427d14849c1b8c4e03 (patch) | |
| tree | 409d144fd03e95dc0d20a9fcbe6b31732d462b78 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d215a3b2fe63bac012f76cfb5aabc919d77a2bf9 (diff) | |
PNP: ACPI: Stop using acpi_device_name()
Since acpi_device_name() checked by pnpacpi_add_device() is never
populated, its length is always zero and the codition checking it
is always false.
Accordingly, drop that condition and use acpi_device_bid(device) for
setting dev->name in pnpacpi_add_device() unconditionally.
No intentional functional impact.
This will facilitate the removal of device_name from struct
acpi_device_pnp in the future.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/23191780.EfDdHjke4D@rafael.j.wysocki
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
