summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-01-26 13:46:19 -0800
committerGuenter Roeck <linux@roeck-us.net>2025-03-02 08:49:06 -0800
commit64fbb4c42ab910af6c06c37106f9e06ccde91e34 (patch)
tree5948dbfdf0ddafe383072776b33bc5f84b788f36 /tools/perf/scripts/python
parent2a431adc96395f3e1c971d10fb75c17275b60d1b (diff)
hwmon: (pmbus/core) Optimize debugfs status attribute initialization
Define debugfs attributes used to access status registers in a data structure and loop through it instead of creating debugfs files one by one. This reduces code size and simplifies adding additional attributes if needed. Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions