diff options
author | Guenter Roeck <linux@roeck-us.net> | 2025-01-27 00:46:19 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-03-02 19:49:06 +0300 |
commit | 64fbb4c42ab910af6c06c37106f9e06ccde91e34 (patch) | |
tree | 5948dbfdf0ddafe383072776b33bc5f84b788f36 /scripts/lib/kdoc/kdoc_output.py | |
parent | 2a431adc96395f3e1c971d10fb75c17275b60d1b (diff) | |
download | linux-64fbb4c42ab910af6c06c37106f9e06ccde91e34.tar.xz |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions