diff options
author | Guenter Roeck <linux@roeck-us.net> | 2025-01-26 13:46:19 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-03-02 08:49:06 -0800 |
commit | 64fbb4c42ab910af6c06c37106f9e06ccde91e34 (patch) | |
tree | 5948dbfdf0ddafe383072776b33bc5f84b788f36 /tools/perf/scripts/python | |
parent | 2a431adc96395f3e1c971d10fb75c17275b60d1b (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