aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Zhang <18255117159@163.com>2026-05-08 21:34:32 +0800
committerManivannan Sadhasivam <mani@kernel.org>2026-05-19 19:00:40 +0530
commitd25f1dd6b986070e2324bf373097f0fced1e57e1 (patch)
treec9912ac4b655da51418373d56f040a0af3131473 /tools/perf/scripts/python
parentf02459d0342f94fbbc6296fca0f221783d3a37de (diff)
PCI: dwc: Use DEFINE_SHOW_ATTRIBUTE for ltssm_status debugfs
Replace the custom open function and file_operations with the standard DEFINE_SHOW_ATTRIBUTE macro to reduce boilerplate code. This also adds the previously missing .release() callback and fixes the seq_file leak during close. Signed-off-by: Hans Zhang <18255117159@163.com> [mani: added a note about implicit release callback change spotted by Sashiko] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20260508133432.1964491-1-18255117159@163.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions