summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-07-06 14:43:32 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-07-15 18:08:37 +0200
commitd4232e1c796c0b3de0dc3f427d14849c1b8c4e03 (patch)
tree409d144fd03e95dc0d20a9fcbe6b31732d462b78 /tools/perf/scripts/python/export-to-postgresql.py
parentd215a3b2fe63bac012f76cfb5aabc919d77a2bf9 (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions